aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/metadata-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index c7b2e32..eec98b0 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -236,7 +236,8 @@ metadata_image_expose (GtkWidget *metadata, GdkEventExpose *event, gpointer user
pango_cairo_show_layout(cr, layout);
g_object_unref(layout);
-
+ g_object_unref(p_context);
+ g_string_free (string);
cairo_destroy (cr);
return TRUE;