GNOME Bugzilla – Bug 521269
fill_mountable_info() allocates with glib and frees with dbus
Last modified: 2008-03-10 17:26:51 UTC
at gdaemonvfs.c:611 dbus_free_string_array() is called on pointers allocated via g_strdup. This has catastrophic results when glib does not use the same malloc as dbus (in particular, when glib has been set up to use boehm gc).
Created attachment 106872 [details] Example of crash A short program that exhibits the problem.
Created attachment 106873 [details] [review] a patch to use g_free instead
2008-03-10 Alexander Larsson <alexl@redhat.com> * client/gdaemonvfs.c: Free strings with g_free, not dbus_free (#521269)