fileman_opinfo improper E_FREE and possible leak depending on asprintf implementation

SVN revision: 80867
This commit is contained in:
Mike Blumenkrantz 2012-12-13 14:25:04 +00:00
parent 9220325253
commit 964c8ec66e
1 changed files with 2 additions and 1 deletions

View File

@ -367,7 +367,8 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
e_module_dir_get(opinfo_module));
if (r < 0)
{
E_FREE(inst);
free(inst->theme_file);
free(inst);
return NULL;
}