summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-01-25 14:44:05 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-01-25 14:44:05 +0000
commit8fe3f072722c3ffd241d5a3a8b01800ccd8b5c63 (patch)
treeb6a17438009c2ba4fb852bf5b5dffe45369a8689 /ext
parent3d4493630e361d762208982eaff6f9a52e22d9df (diff)
downloadgst-plugins-bad-8fe3f072722c3ffd241d5a3a8b01800ccd8b5c63.tar.gz
gst-plugins-bad-8fe3f072722c3ffd241d5a3a8b01800ccd8b5c63.tar.bz2
gst-plugins-bad-8fe3f072722c3ffd241d5a3a8b01800ccd8b5c63.zip
Just chain up finalize calls (calling parent_class->finalize).
Original commit message from CVS: Just chain up finalize calls (calling parent_class->finalize).
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