[gtk+] Plug another memory leak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Plug another memory leak
- Date: Tue, 15 Sep 2015 23:34:36 +0000 (UTC)
commit 28c9f3d5da5afaafa7bc63413d3e9a552ed0664e
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Sep 15 10:54:29 2015 -0400
Plug another memory leak
demos/gtk-demo/listbox.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/listbox.c b/demos/gtk-demo/listbox.c
index ee94d55..b309e35 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]