Index: gst-libs/gst/fft/kiss_fft_f32.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/fft/kiss_fft_f32.h,v
retrieving revision 1.1
diff -u -r1.1 kiss_fft_f32.h
--- gst-libs/gst/fft/kiss_fft_f32.h	6 Sep 2007 07:00:31 -0000	1.1
+++ gst-libs/gst/fft/kiss_fft_f32.h	13 Nov 2007 23:08:30 -0000
@@ -5,7 +5,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <memory.h>
-#include <malloc.h>
+#include <glib.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -24,7 +24,7 @@
   in the tools/ directory.
 */
 
-#define KISS_FFT_F32_MALLOC malloc
+#define KISS_FFT_F32_MALLOC g_malloc
 #define kiss_fft_f32_scalar float
 
 typedef struct {
@@ -78,7 +78,7 @@
 
 /* If kiss_fft_f32_alloc allocated a buffer, it is one contiguous 
    buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_f32_free free
+#define kiss_fft_f32_free g_free
 
 /*
  Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up 
Index: gst-libs/gst/fft/kiss_fft_f64.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/fft/kiss_fft_f64.h,v
retrieving revision 1.1
diff -u -r1.1 kiss_fft_f64.h
--- gst-libs/gst/fft/kiss_fft_f64.h	6 Sep 2007 07:00:31 -0000	1.1
+++ gst-libs/gst/fft/kiss_fft_f64.h	13 Nov 2007 23:08:30 -0000
@@ -5,7 +5,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <memory.h>
-#include <malloc.h>
+#include <glib.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -24,7 +24,7 @@
   in the tools/ directory.
 */
 
-#define KISS_FFT_F64_MALLOC malloc
+#define KISS_FFT_F64_MALLOC g_malloc
 #define kiss_fft_f64_scalar double
 
 typedef struct {
@@ -78,7 +78,7 @@
 
 /* If kiss_fft_f64_alloc allocated a buffer, it is one contiguous 
    buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_f64_free free
+#define kiss_fft_f64_free g_free
 
 /*
  Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up 
Index: gst-libs/gst/fft/kiss_fft_s16.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/fft/kiss_fft_s16.h,v
retrieving revision 1.2
diff -u -r1.2 kiss_fft_s16.h
--- gst-libs/gst/fft/kiss_fft_s16.h	1 Nov 2007 13:28:58 -0000	1.2
+++ gst-libs/gst/fft/kiss_fft_s16.h	13 Nov 2007 23:08:30 -0000
@@ -5,7 +5,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <memory.h>
-#include <malloc.h>
+#include <glib.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -24,7 +24,7 @@
   in the tools/ directory.
 */
 
-#define KISS_FFT_S16_MALLOC malloc
+#define KISS_FFT_S16_MALLOC g_malloc
 
 #include "_stdint.h"
 
@@ -81,7 +81,7 @@
 
 /* If kiss_fft_s16_alloc allocated a buffer, it is one contiguous 
    buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_s16_free free
+#define kiss_fft_s16_free g_free
 
 /*
  Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up 
Index: gst-libs/gst/fft/kiss_fft_s32.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/fft/kiss_fft_s32.h,v
retrieving revision 1.2
diff -u -r1.2 kiss_fft_s32.h
--- gst-libs/gst/fft/kiss_fft_s32.h	1 Nov 2007 13:28:58 -0000	1.2
+++ gst-libs/gst/fft/kiss_fft_s32.h	13 Nov 2007 23:08:30 -0000
@@ -5,7 +5,7 @@
 #include <stdio.h>
 #include <math.h>
 #include <memory.h>
-#include <malloc.h>
+#include <glib.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -24,7 +24,7 @@
   in the tools/ directory.
 */
 
-#define KISS_FFT_S32_MALLOC malloc
+#define KISS_FFT_S32_MALLOC g_malloc
 
 
 #include "_stdint.h"
@@ -82,7 +82,7 @@
 
 /* If kiss_fft_s32_alloc allocated a buffer, it is one contiguous 
    buffer and can be simply free()d when no longer needed*/
-#define kiss_fft_s32_free free
+#define kiss_fft_s32_free g_free
 
 /*
  Cleans up some memory that gets managed internally. Not necessary to call, but it might clean up 
