summaryrefslogtreecommitdiffstats
path: root/ext/libmms
diff options
context:
space:
mode:
Diffstat (limited to 'ext/libmms')
-rw-r--r--ext/libmms/gstmms.c5
1 files changed, 4 insertions, 1 deletions
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);
+
}
/*