summaryrefslogtreecommitdiff
path: root/legacy/efreet/src/lib/efreet_desktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/efreet/src/lib/efreet_desktop.c')
-rw-r--r--legacy/efreet/src/lib/efreet_desktop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/legacy/efreet/src/lib/efreet_desktop.c b/legacy/efreet/src/lib/efreet_desktop.c
index 5b4a0aa7e9..ad79276875 100644
--- a/legacy/efreet/src/lib/efreet_desktop.c
+++ b/legacy/efreet/src/lib/efreet_desktop.c
@@ -392,7 +392,11 @@ efreet_desktop_new(const char *file)
392 return desktop; 392 return desktop;
393error: 393error:
394 if (desktop) efreet_desktop_free(desktop); 394 if (desktop) efreet_desktop_free(desktop);
395 if (rp) free(rp); 395 // this is not ideal as it will leak, but we are getting a double-free here
396 // for some reason that I can't see right now. so disable the free call
397 // here until this gets investigated. Better than having the desktop die
398 // because someone tried to open the menu - dh
399// if (rp) free(rp);
396 return NULL; 400 return NULL;
397} 401}
398 402