diff options
Diffstat (limited to 'gst-libs/gst/tuner/tunerchannel.c')
-rw-r--r-- | gst-libs/gst/tuner/tunerchannel.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/tuner/tunerchannel.c b/gst-libs/gst/tuner/tunerchannel.c index de0be2e4..1826a3e2 100644 --- a/gst-libs/gst/tuner/tunerchannel.c +++ b/gst-libs/gst/tuner/tunerchannel.c @@ -104,8 +104,10 @@ gst_tuner_channel_dispose (GObject * object) { GstTunerChannel *channel = GST_TUNER_CHANNEL (object); - if (channel->label) + if (channel->label) { g_free (channel->label); + channel->label = NULL; + } if (parent_class->dispose) parent_class->dispose (object); |