aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metadata-widget.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index 16e30e5..a3383df 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -264,6 +264,10 @@ metadata_widget_dispose (GObject *object)
static void
metadata_widget_finalize (GObject *object)
{
+ MetadataWidgetPrivate * priv = METADATA_WIDGET_GET_PRIVATE(METADATA_WIDGET(object));
+ g_string_free (priv->image_path, TRUE);
+ g_string_free (priv->old_image_path, TRUE);
+
G_OBJECT_CLASS (metadata_widget_parent_class)->finalize (object);
}