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