Index: gst/base/gstbasesrc.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/gst/base/gstbasesrc.c,v
retrieving revision 1.75
diff -u -B -p -r1.75 gstbasesrc.c
--- gst/base/gstbasesrc.c	10 Nov 2005 14:45:27 -0000	1.75
+++ gst/base/gstbasesrc.c	15 Nov 2005 19:01:59 -0000
@@ -195,7 +195,8 @@ gst_base_src_init (GstBaseSrc * basesrc,
 
   GST_DEBUG_OBJECT (basesrc, "creating src pad");
   pad = gst_pad_new_from_template (pad_template, "src");
-
+  g_object_unref (pad_template);
+  
   GST_DEBUG_OBJECT (basesrc, "setting functions on src pad");
   gst_pad_set_activatepush_function (pad,
       GST_DEBUG_FUNCPTR (gst_base_src_activate_push));
