Index: gst/spectrum/gstspectrum.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/spectrum/gstspectrum.c,v
retrieving revision 1.52
diff -u -p -r1.52 gstspectrum.c
--- gst/spectrum/gstspectrum.c	14 Jan 2009 15:44:18 -0000	1.52
+++ gst/spectrum/gstspectrum.c	15 Jan 2009 11:38:08 -0000
@@ -261,7 +261,8 @@ gst_spectrum_init (GstSpectrum * spectru
 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);
