diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ext/libmms/gstmms.c | 5 | ||||
-rw-r--r-- | ext/neon/gstneonhttpsrc.c | 3 |
3 files changed, 13 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2006-01-25 Edgard Lima <edgard.lima@indt.org.br> + * 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 <edgard.lima@indt.org.br> + * ext/libmms/gstmms.c: (gst_mms_finalize), (gst_mms_set_property), (gst_mms_get_property), (gst_mms_src_query), (gst_mms_class_init): Finalize method has been created and others small changes. diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index 5985ea40..fa886d9d 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 6c0f2b0e..32c1b6d8 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 |