Index: gst/mixmatrix/mixmatrix.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins/gst/mixmatrix/mixmatrix.c,v
retrieving revision 1.25
diff -u -r1.25 mixmatrix.c
--- a/gst/mixmatrix/mixmatrix.c	21 May 2004 22:39:26 -0000	1.25
+++ b/gst/mixmatrix/mixmatrix.c	25 May 2004 14:39:02 -0000
@@ -235,10 +235,10 @@
   mix->srcpadalloc = mix->grpsize;
 
   // allocate the pads
-  mix->sinkpads = g_new (GstPad *, mix->sinkpadalloc);
-  mix->sinkbs = g_new (GstByteStream *, mix->sinkpadalloc);
+  mix->sinkpads = g_new0 (GstPad *, mix->sinkpadalloc);
+  mix->sinkbs = g_new0 (GstByteStream *, mix->sinkpadalloc);
 
-  mix->srcpads = g_new (GstPad *, mix->srcpadalloc);
+  mix->srcpads = g_new0 (GstPad *, mix->srcpadalloc);
 
   // allocate a similarly sized matrix
   mix->matrix = mixmatrix_alloc_matrix (mix->sinkpadalloc, mix->srcpadalloc);
