From 098d0f5c02daa46d5faab2b8a2719118188b13e3 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 21 Dec 2014 13:43:44 +0100 Subject: Plug leak --- src/uplanfahrwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uplanfahrwin.c b/src/uplanfahrwin.c index b5ae446..561e8bd 100644 --- a/src/uplanfahrwin.c +++ b/src/uplanfahrwin.c @@ -165,7 +165,7 @@ set_loc (LpfLoc *loc, GtkWidget *view, gboolean is_start) { const char *type = is_start ? "start" : "end"; - g_object_set_data (G_OBJECT(view), type, loc); + g_object_set_data_full (G_OBJECT(view), type, loc, g_object_unref); } -- cgit v1.2.3