GNOME Bugzilla – Bug 556954
gtk+/gtk/gtkrecentchooserdefault.c: mismatching allocation and deallocation
Last modified: 2008-10-24 04:21:31 UTC
Please describe the problem: In the file gtk+/gtk/gtkrecentchooserdefault.c on line 1615 there are mismatching allocation and deallocation for 'msg'. Here's the code: msg = strdup (_("Could not remove item")); error_message (impl, msg, err->message); g_free (msg); Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
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