[Xfce4-commits] <xfce4-appfinder:master> Free list and improve code comments.

Nick Schermer noreply at xfce.org
Mon Dec 26 16:50:03 CET 2011


Updating branch refs/heads/master
         to 01d14dd98317f28ccbcf1f180621f7fbeef2f00b (commit)
       from 9151d4f4af6c9a457d19f75e59c69ab0d9aad81c (commit)

commit 01d14dd98317f28ccbcf1f180621f7fbeef2f00b
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Dec 26 16:48:42 2011 +0100

    Free list and improve code comments.

 src/main.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/main.c b/src/main.c
index aec7498..edca5bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -504,11 +504,13 @@ main (gint argc, gchar **argv)
 
   if (windows != NULL)
     {
+      /* avoid calling appfinder_window_destroyed */
       windows_destroy = windows;
       windows = NULL;
 
-      /* destroy all windows without poking gtk_main_quit */
+      /* destroy all windows */
       g_slist_foreach (windows_destroy, (GFunc) gtk_widget_destroy, NULL);
+      g_slist_free (windows_destroy);
     }
 
   xfconf_shutdown ();


More information about the Xfce4-commits mailing list