Commit 86929a52 authored by geal's avatar geal
Browse files

don't try to free a non existing string

parent 44e31c0f
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment