summaryrefslogtreecommitdiff
path: root/gst-libs/gst/mixer/mixertrack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/mixer/mixertrack.c')
-rw-r--r--gst-libs/gst/mixer/mixertrack.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/mixer/mixertrack.c b/gst-libs/gst/mixer/mixertrack.c
index ea531d5f3..36ce288d4 100644
--- a/gst-libs/gst/mixer/mixertrack.c
+++ b/gst-libs/gst/mixer/mixertrack.c
@@ -183,8 +183,10 @@ gst_mixer_track_dispose (GObject * object)
{
GstMixerTrack *channel = GST_MIXER_TRACK (object);
- if (channel->label)
+ if (channel->label) {
g_free (channel->label);
+ channel->label = NULL;
+ }
if (parent_class->dispose)
parent_class->dispose (object);