[evolution/wip/webkit2] Fix a double-free on a picture gallery dispose (composer close)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Fix a double-free on a picture gallery dispose (composer close)
- Date: Thu, 25 Feb 2016 15:26:15 +0000 (UTC)
commit 968a08745a0e8dde2003f6975ae6af45f7fd1950
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]