From 28c9f3d5da5afaafa7bc63413d3e9a552ed0664e Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 15 Sep 2015 10:54:29 -0400 Subject: [PATCH] Plug another memory leak --- demos/gtk-demo/listbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/gtk-demo/listbox.c b/demos/gtk-demo/listbox.c index ee94d55202..b309e35929 100644 --- a/demos/gtk-demo/listbox.c +++ b/demos/gtk-demo/listbox.c @@ -164,6 +164,7 @@ gtk_message_row_update (GtkMessageRow *row) s = g_date_time_format (t, "%X - %e %b %Y"); gtk_label_set_text (priv->detailed_time_label, s); g_free (s); + g_date_time_unref (t); gtk_widget_set_visible (GTK_WIDGET(priv->n_favorites_label), priv->message->n_favorites != 0);