summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/tuner/tunernorm.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/tuner/tunernorm.c')
-rw-r--r--gst-libs/gst/tuner/tunernorm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/tuner/tunernorm.c b/gst-libs/gst/tuner/tunernorm.c
index 8fb98db7..2eb973de 100644
--- a/gst-libs/gst/tuner/tunernorm.c
+++ b/gst-libs/gst/tuner/tunernorm.c
@@ -88,8 +88,10 @@ gst_tuner_norm_dispose (GObject * object)
{
GstTunerNorm *norm = GST_TUNER_NORM (object);
- if (norm->label)
+ if (norm->label) {
g_free (norm->label);
+ norm->label = NULL;
+ }
if (parent_class->dispose)
parent_class->dispose (object);