Commit 56253637 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocation

2008-10-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
        allocation and deallocation

        * gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
        free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki

svn path=/trunk/; revision=21708
parent 5899bbd4
2008-10-24 Matthias Clasen <mclasen@redhat.com>
Bug 556954 – gtk+/gtk/gtkrecentchooserdefault.c: mismatching
allocation and deallocation
* gtk/gtkrecentchooserdefault.c (remove_selected_from_list): Don't
free a strdup'ed string by g_free. Pointed out by Daniel Marjamäki
2008-10-24 Matthias Clasen <mclasen@redhat.com>
Bug 556835 – gtkentry.c: variable is declared at middle of block
......
......@@ -1609,7 +1609,7 @@ remove_selected_from_list (GtkRecentChooserDefault *impl)
{
gchar *msg;
msg = strdup (_("Could not remove item"));
msg = g_strdup (_("Could not remove item"));
error_message (impl, msg, err->message);
g_free (msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment