forked from enlightenment/efl
If efreet_menu_parse returns an actual menu, let's free the memory
allocated to it before we return. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
8810f69914
commit
d384574095
|
@ -59,6 +59,7 @@ ef_cb_menu_with_slashes(void)
|
|||
if (menu)
|
||||
{
|
||||
printf("efreet_menu_get() didn't return NULL\n");
|
||||
efreet_menu_free(menu);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue