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);
}
}
+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.
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",