picture: Don't leak alternative-test

This leak showed up while running the testsuite
under asan.
This commit is contained in:
Matthias Clasen 2020-07-08 16:42:35 -04:00
parent 0546e26434
commit 3d008d5929

View File

@ -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);
};