summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/efreet/efreet_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index fa04616bd8..feea57d3ea 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -569,7 +569,11 @@ efreet_menu_parse(const char *path)
569 569
570 /* split apart the filename and the path */ 570 /* split apart the filename and the path */
571 internal = efreet_menu_internal_new(NULL); 571 internal = efreet_menu_internal_new(NULL);
572 if (!internal) return NULL; 572 if (!internal)
573 {
574 efreet_xml_del(xml);
575 return NULL;
576 }
573 internal->efreet_merged_menus = eina_hash_string_superfast_new(NULL); 577 internal->efreet_merged_menus = eina_hash_string_superfast_new(NULL);
574 internal->efreet_merged_dirs = eina_hash_string_superfast_new(NULL); 578 internal->efreet_merged_dirs = eina_hash_string_superfast_new(NULL);
575 579