GNOME Bugzilla – Bug 333917
double-free bug
Last modified: 2010-01-24 01:07:38 UTC
Originally filed here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=184285 Also see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=182957 for the consequences The problem is that the mixer applet sometimes uses g_object_set_data_full and sometimes g_object_set_data to set gnome-volume-applet-origname and gnome-volume-applet-name. And then it does a nasty g_free (g_object_get_data ()) in dispose. It should always use set_data_full() and let glib take care of freeing the value when the object is disposed.
So you're recommending the inclusion of https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=125807 ?
A better patch will be available shortly
*** Bug 333927 has been marked as a duplicate of this bug. ***
Created attachment 60930 [details] [review] the described fix
(On my current source tree, which is somewhere halfway the 2.13 cycle:) [rbultje@localhost mixer]$ grep g_object_set_data_full * [rbultje@localhost mixer]$ ? I don't see this bug. Is this a fedora-specific bug or did someone commit a bad patch?
I don't know where the set_data_full calls came from, but in any case, they are much more correct than this: g_free (g_object_get_data (G_OBJECT (element), "gnome-volume-applet-name"));
I'm ok with this patch, please apply.
Once this is in, I'll roll a 2.14.1 tarball and then branch.
This fix looks like it went in with bug #335432. Can someone please confirm?
Looks like it yeah. Marking as duplicate. *** This bug has been marked as a duplicate of 335432 ***