diff --git a/gst/inter/gstinteraudiosink.c b/gst/inter/gstinteraudiosink.c index 11ce1bfd8b..8cc3888cc1 100644 --- a/gst/inter/gstinteraudiosink.c +++ b/gst/inter/gstinteraudiosink.c @@ -219,9 +219,10 @@ gst_inter_audio_sink_dispose (GObject * object) void gst_inter_audio_sink_finalize (GObject * object) { - /* GstInterAudioSink *interaudiosink = GST_INTER_AUDIO_SINK (object); */ + GstInterAudioSink *interaudiosink = GST_INTER_AUDIO_SINK (object); /* clean up object here */ + g_free (interaudiosink->channel); G_OBJECT_CLASS (parent_class)->finalize (object); } diff --git a/gst/inter/gstinteraudiosrc.c b/gst/inter/gstinteraudiosrc.c index 3e64eefc91..43ed43b1bb 100644 --- a/gst/inter/gstinteraudiosrc.c +++ b/gst/inter/gstinteraudiosrc.c @@ -166,12 +166,10 @@ gst_inter_audio_src_class_init (GstInterAudioSrcClass * klass) base_src_class->prepare_seek_segment = GST_DEBUG_FUNCPTR (gst_inter_audio_src_prepare_seek_segment); -#if 0 g_object_class_install_property (gobject_class, PROP_CHANNEL, g_param_spec_string ("channel", "Channel", "Channel name to match inter src and sink elements", "default", G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); -#endif } static void @@ -231,9 +229,10 @@ gst_inter_audio_src_dispose (GObject * object) void gst_inter_audio_src_finalize (GObject * object) { - /* GstInterAudioSrc *interaudiosrc = GST_INTER_AUDIO_SRC (object); */ + GstInterAudioSrc *interaudiosrc = GST_INTER_AUDIO_SRC (object); /* clean up object here */ + g_free (interaudiosrc->channel); G_OBJECT_CLASS (parent_class)->finalize (object); }