summaryrefslogtreecommitdiff
path: root/gtk/gtkpicture.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-07-08 16:42:35 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-07-08 17:44:29 -0400
commit3d008d592969363dbf9e131c4c3bd1becaef512c (patch)
tree11f0978b0f3479b23ff643732fe979c52b67db19 /gtk/gtkpicture.c
parent0546e264341abb1b93e38c28b716ff99bc802cae (diff)
downloadgtk+-3d008d592969363dbf9e131c4c3bd1becaef512c.tar.gz
picture: Don't leak alternative-test
This leak showed up while running the testsuite under asan.
Diffstat (limited to 'gtk/gtkpicture.c')
-rw-r--r--gtk/gtkpicture.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkpicture.c b/gtk/gtkpicture.c
index 0833b11a6f..31d814e381 100644
--- a/gtk/gtkpicture.c
+++ b/gtk/gtkpicture.c
@@ -284,6 +284,7 @@ gtk_picture_dispose (GObject *object)
gtk_picture_set_paintable (self, NULL);
g_clear_object (&self->file);
+ g_clear_pointer (&self->alternative_text, g_free);
G_OBJECT_CLASS (gtk_picture_parent_class)->dispose (object);
};