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
This commit is contained in:
Matthias Clasen 2009-02-28 00:22:15 +00:00
parent b475130e4f
commit 08db83d2ac
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-02-27 Matthias Clasen <mclasen@redhat.com>
Bug 572972 GtkRecentChooserDefault: memory leak in
copy_activated_cb()
* gtk/gtkrecentchooserdefault.c (copy_activated_cb): Don't leak
a GtkRecentInfo. Found by Tommi Rantala
2009-02-27 Matthias Clasen <mclasen@redhat.com>
Bug 572968 GtkIconView: image_description setter function strdups

View File

@ -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);
}