From 8fe3f072722c3ffd241d5a3a8b01800ccd8b5c63 Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Wed, 25 Jan 2006 14:44:05 +0000 Subject: Just chain up finalize calls (calling parent_class->finalize). Original commit message from CVS: Just chain up finalize calls (calling parent_class->finalize). --- ext/libmms/gstmms.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/libmms') 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); + } /* -- cgit v1.2.1