[gimp/soc-2010-cage] app: free shell->zoom_focus_pointer_queue in destroy()



commit 1384c1b03320942ebf2961d9b2bd00b9d9ba704a
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jun 22 23:03:13 2010 +0200

    app: free shell->zoom_focus_pointer_queue in destroy()

 app/display/gimpdisplayshell.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c
index 2650995..4bfae00 100644
--- a/app/display/gimpdisplayshell.c
+++ b/app/display/gimpdisplayshell.c
@@ -898,6 +898,12 @@ gimp_display_shell_destroy (GtkObject *object)
       shell->event_queue = NULL;
     }
 
+  if (shell->zoom_focus_pointer_queue)
+    {
+      g_queue_free (shell->zoom_focus_pointer_queue);
+      shell->zoom_focus_pointer_queue = NULL;
+    }
+
   if (shell->title_idle_id)
     {
       g_source_remove (shell->title_idle_id);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]