Commit 2c068533 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix potential segfault (CID 252)

parent 64632922
......@@ -737,8 +737,10 @@ char ** module_GetModulesNamesForCapability( const char *psz_capability,
{
free( psz_ret );
if( pppsz_longname )
{
free( *pppsz_longname );
*pppsz_longname = NULL;
}
module_list_free (list);
return NULL;
}
......
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