GNOME Bugzilla – Bug 597547
use of local variable after free
Last modified: 2009-10-06 20:15:08 UTC
Forwarding https://bugzilla.novell.com/show_bug.cgi?id=527409 I just had a look at factory package libbonobo-2.24.1-3.3 For source code file libbonobo-2.24.1/bonobo-activation/bonobo-activation-mime.c around line 300 is the source code for the function gnome_vfs_mime_get_short_list_components. I notice the following lines of code g_free (supertype); then sort[1] = g_strconcat ("bonobo:supported_mime_types.has ('", supertype, "')", NULL); It seems slighty less than optimal to use the local variable supertype after is has been freed. Suggest code rework.
Wow - quite right :-) obvious fix committed - I wonder has that method been used recently at all ? ;-)