From: Geoffroy Couprie Date: Mon, 22 Sep 2008 09:51:22 +0000 (+0200) Subject: don't try to free a non existing string X-Git-Tag: 1.0.0-pre1~2983 X-Git-Url: https://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=86929a52374b45dfa680be29763df113425d6cf6 don't try to free a non existing string --- diff --git a/src/modules/modules.c b/src/modules/modules.c index 1c3001f632..e9ea5f7cf8 100644 --- a/src/modules/modules.c +++ b/src/modules/modules.c @@ -1347,11 +1347,10 @@ static void UndupModule( module_t *p_module ) free( *pp_shortcut ); } - FREENULL( p_module->psz_object_name ); free( p_module->psz_capability ); - free( p_module->psz_shortname ); + FREENULL( p_module->psz_shortname ); free( p_module->psz_longname ); - free( p_module->psz_help ); + FREENULL( p_module->psz_help ); } #endif /* HAVE_DYNAMIC_PLUGINS */