mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-11 06:11:27 +00:00
gst/spectrum/gstspectrum.c: Don't call gst_fft_f32_free() with NULL to prevent a crash. Fixes bug #567642.
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.
This commit is contained in:
parent
f4b2d38c87
commit
9ee7150985
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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):
|
||||
|
|
|
@ -261,7 +261,8 @@ gst_spectrum_init (GstSpectrum * spectrum, GstSpectrumClass * g_class)
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue