[gimp] app: set shell->vectors to NULL in gimp_display_shell_items_free()



commit b59196c2455de4fa5a1ea78bdf2ca2ce1641628a
Author: Michael Natterer <mitch gimp org>
Date:   Fri Oct 8 15:46:00 2010 +0200

    app: set shell->vectors to NULL in gimp_display_shell_items_free()

 app/display/gimpdisplayshell-items.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpdisplayshell-items.c b/app/display/gimpdisplayshell-items.c
index 5d0b3d4..1928852 100644
--- a/app/display/gimpdisplayshell-items.c
+++ b/app/display/gimpdisplayshell-items.c
@@ -95,6 +95,7 @@ gimp_display_shell_items_free (GimpDisplayShell *shell)
       g_object_unref (shell->canvas_item);
       shell->canvas_item = NULL;
 
+      shell->vectors        = NULL;
       shell->grid           = NULL;
       shell->guides         = NULL;
       shell->sample_points  = NULL;



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