[evolution/gnome-3-16] Fix a double-free on a picture gallery dispose (composer close)



commit 6535a2e906657d19f041a24a5a8b588d69801279
Author: Milan Crha <mcrha redhat com>
Date:   Fri May 22 12:58:12 2015 +0200

    Fix a double-free on a picture gallery dispose (composer close)

 e-util/e-picture-gallery.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-picture-gallery.c b/e-util/e-picture-gallery.c
index 594f13b..6e01715 100644
--- a/e-util/e-picture-gallery.c
+++ b/e-util/e-picture-gallery.c
@@ -394,6 +394,7 @@ picture_gallery_dispose (GObject *object)
        }
 
        g_free (gallery->priv->path);
+       gallery->priv->path = NULL;
 
        /* Chain up to parent's dispose() method. */
        G_OBJECT_CLASS (e_picture_gallery_parent_class)->dispose (object);


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