changeset 35550:d31d6a5c1e94

Deallocate in reverse order of allocation.
author ib
date Mon, 10 Dec 2012 01:46:50 +0000
parents 463d8e512c38
children 99a11b051705
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 10 01:45:44 2012 +0000
+++ b/gui/interface.c	Mon Dec 10 01:46:50 2012 +0000
@@ -284,10 +284,10 @@
         wsXDone();
     }
 
-    appFreeStruct();
     uiUnsetFile();
     listMgr(PLAYLIST_DELETE, 0);
     listMgr(URLLIST_DELETE, 0);
+    appFreeStruct();
     free(guiIcon.collection);
 
     if (gui_conf) {