summaryrefslogtreecommitdiff
path: root/gst/audiovisualizers/gstwavescope.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/audiovisualizers/gstwavescope.c')
-rw-r--r--gst/audiovisualizers/gstwavescope.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/audiovisualizers/gstwavescope.c b/gst/audiovisualizers/gstwavescope.c
index b87d05cf8..4b7fe3aac 100644
--- a/gst/audiovisualizers/gstwavescope.c
+++ b/gst/audiovisualizers/gstwavescope.c
@@ -176,8 +176,7 @@ gst_wave_scope_setup (GstAudioVisualizer * bscope)
{
GstWaveScope *scope = GST_WAVE_SCOPE (bscope);
- if (scope->flt)
- g_free (scope->flt);
+ g_free (scope->flt);
scope->flt = g_new0 (gdouble, 6 * GST_AUDIO_INFO_CHANNELS (&bscope->ainfo));