[gst-devel] explicit g_object_dispose on anything?
Andy Wingo
wingo at pobox.com
Thu Feb 5 05:24:01 CET 2004
Hey folks,
I was going through gstpad.c and gstelement.c doing some cleanups, and I
saw some assertions in the real pad dispose code. The assertion (that a
pad being disposed has no peer) would hold for a dispose run by a final
unref, but not for an explicit call to g_object_dispose (pad).
My question is, is it legal to call g_object_dispose on anything you
please? http://www.gnome.org/~mathieu/gobject/ch04s02.html seems to
suggest that that is a possibility.
guile-gnome doesn't call that, prolly cause it's not smart enough to
detect refcounting cycles (although they can exist). I can't find it in
the python bindings either. Thoughts?
Regards...
--
Andy Wingo <wingo at pobox.com>
More information about the gstreamer-devel
mailing list