From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-04-26 22:58:03
|
https://bugzilla.gnome.org/show_bug.cgi?id=616894 gnome-perl | Pango | unspecified --- Comment #2 from Torsten Schoenfeld <kaf...@gm...> 2010-04-26 22:57:47 UTC --- Created an attachment (id=159650) View: https://bugzilla.gnome.org/attachment.cgi?id=159650 Review: https://bugzilla.gnome.org/review?bug=616894&attachment=159650 Glib::Boxed::DESTROY: handle unregistered children If a class is set to inherit from Glib::Boxed but is not actually registered as a boxed type (and so has no BoxedInfo associated with it), simply use the default destroy function. This way, at least the BoxedWrapper struct gets freed. FIXME: But what about a boxed wrapper that doesn't use default_boxed_wrap? If another package is set to inherit from that boxed wrapper, Glib::Boxed::DESTROY would still call default_boxed_destroy, which would most likely result in a segfault. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |