diff --git a/ChangeLog b/ChangeLog index 7b3fe9703c..63c2ffc5fe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-01-25 Edgard Lima + + * ext/libmms/gstmms.c: (gst_mms_finalize): + * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_finalize): + Just chain up finalize calls (calling parent_class->finalize). + 2006-01-25 Edgard Lima * ext/libmms/gstmms.c: (gst_mms_finalize), (gst_mms_set_property), diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 5985ea4039..fa886d9dd2 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -163,13 +163,16 @@ gst_mms_finalize (GObject * gobject) { GstMMS *mmssrc = GST_MMS (gobject); - gst_mms_stop (mmssrc); + gst_mms_stop (GST_BASE_SRC (mmssrc)); if (mmssrc->uri_name) { g_free (mmssrc->uri_name); mmssrc->uri_name = NULL; } + if (G_OBJECT_CLASS (parent_class)->finalize) + G_OBJECT_CLASS (parent_class)->finalize (gobject); + } /* diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 6c0f2b0e13..32c1b6d8e0 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -198,6 +198,9 @@ gst_neonhttp_src_finalize (GObject * gobject) ne_free (this->uristr); } + if (G_OBJECT_CLASS (parent_class)->finalize) + G_OBJECT_CLASS (parent_class)->finalize (gobject); + } int