Original commit message from CVS:
* gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state):
Don't call gst_fft_f32_free() with NULL to prevent a
crash. Fixes bug #567642.
+2009-01-15 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * gst/spectrum/gstspectrum.c: (gst_spectrum_reset_state):
+ Don't call gst_fft_f32_free() with NULL to prevent a
+ crash. Fixes bug #567642.
+
2009-01-14 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* gst/spectrum/gstspectrum.c: (gst_spectrum_transform_ip):
static void
gst_spectrum_reset_state (GstSpectrum * spectrum)
{
- gst_fft_f32_free (spectrum->fft_ctx);
+ if (spectrum->fft_ctx)
+ gst_fft_f32_free (spectrum->fft_ctx);
g_free (spectrum->input);
g_free (spectrum->input_tmp);
g_free (spectrum->freqdata);