summaryrefslogtreecommitdiff
path: root/gst/dccp
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-13 00:11:54 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-13 00:11:54 +0000
commit699677ed8ad7d763bfc70fbd9a23104fc18a18d7 (patch)
treea7b5943dfa3eecf143d19765657b05c65c475889 /gst/dccp
parent5b785f51caf454d819199079de00b4a3d0034677 (diff)
parent409816b5baaecdf61819c23475ad77d3ed9811b8 (diff)
downloadgstreamer-plugins-bad-699677ed8ad7d763bfc70fbd9a23104fc18a18d7.tar.gz
Merge remote-tracking branch 'origin/master' into 0.11
Diffstat (limited to 'gst/dccp')
-rw-r--r--gst/dccp/gstdccpclientsink.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gst/dccp/gstdccpclientsink.c b/gst/dccp/gstdccpclientsink.c
index a890dcb71..a3bded08b 100644
--- a/gst/dccp/gstdccpclientsink.c
+++ b/gst/dccp/gstdccpclientsink.c
@@ -73,6 +73,7 @@ static gboolean gst_dccp_client_sink_stop (GstBaseSink * bsink);
static gboolean gst_dccp_client_sink_start (GstBaseSink * bsink);
static GstFlowReturn gst_dccp_client_sink_render (GstBaseSink * bsink,
GstBuffer * buf);
+static void gst_dccp_client_sink_finalize (GObject * gobject);
GST_DEBUG_CATEGORY_STATIC (dccpclientsink_debug);
@@ -167,6 +168,16 @@ gst_dccp_client_sink_get_property (GObject * object, guint prop_id,
}
}
+static void
+gst_dccp_client_sink_finalize (GObject * gobject)
+{
+ GstDCCPClientSink *this = GST_DCCP_CLIENT_SINK (gobject);
+
+ g_free (this->host);
+
+ G_OBJECT_CLASS (parent_class)->finalize (gobject);
+}
+
/*
* Starts the element. If the sockfd property was not the default, this method
* will create a new socket and connect to the server.
@@ -276,6 +287,7 @@ gst_dccp_client_sink_class_init (GstDCCPClientSinkClass * klass)
gobject_class->set_property = gst_dccp_client_sink_set_property;
gobject_class->get_property = gst_dccp_client_sink_get_property;
+ gobject_class->finalize = gst_dccp_client_sink_finalize;
g_object_class_install_property (G_OBJECT_CLASS (klass), PROP_PORT,
g_param_spec_int ("port", "Port",