aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-12-21 13:43:44 +0100
committerGuido Günther <agx@sigxcpu.org>2014-12-21 14:01:39 +0100
commit098d0f5c02daa46d5faab2b8a2719118188b13e3 (patch)
treeede7dc1d37017d17c7e105234c9c936c51c91d5b
parent74cba64e69aa7dc58484c31e81929bd963357bc4 (diff)
Plug leak
-rw-r--r--src/uplanfahrwin.c2
1 files changed, 1 insertions, 1 deletions
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);
}