forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
5899bbd492
commit
56253637f1
@ -1,3 +1,11 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user