diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-28 00:22:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2009-02-28 00:22:15 +0000 |
commit | 08db83d2ac8af907224a11cf18404209336cf1e3 (patch) | |
tree | 50e6134e5bc61622b20b7f3f17b3aa5da27cd199 /gtk/gtkrecentchooserdefault.c | |
parent | b475130e4ff21f3e629c43df59a284c7fb736431 (diff) | |
download | gtk+-08db83d2ac8af907224a11cf18404209336cf1e3.tar.gz |
Don't leak a GtkRecentInfo. Found by Tommi Rantala
* gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
a GtkRecentInfo. Found by Tommi Rantala
svn path=/trunk/; revision=22418
Diffstat (limited to 'gtk/gtkrecentchooserdefault.c')
-rw-r--r-- | gtk/gtkrecentchooserdefault.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkrecentchooserdefault.c b/gtk/gtkrecentchooserdefault.c index 9b485f2a34..f46bd9e03d 100644 --- a/gtk/gtkrecentchooserdefault.c +++ b/gtk/gtkrecentchooserdefault.c @@ -1676,6 +1676,7 @@ copy_activated_cb (GtkMenuItem *menu_item, GDK_SELECTION_CLIPBOARD), utf8_uri, -1); + gtk_recent_info_unref (info); g_free (utf8_uri); } |