Index: plugins/elements/gsttypefindelement.c
===================================================================
RCS file: /cvs/gstreamer/gstreamer/plugins/elements/gsttypefindelement.c,v
retrieving revision 1.81
diff -p -r1.81 gsttypefindelement.c
*** plugins/elements/gsttypefindelement.c	30 Jan 2007 19:12:54 -0000	1.81
--- plugins/elements/gsttypefindelement.c	12 Jun 2007 14:35:33 -0000
*************** gst_type_find_element_dispose (GObject *
*** 271,276 ****
--- 271,282 ----
      gst_buffer_unref (typefind->store);
      typefind->store = NULL;
    }
+   
+   if (typefind->caps) {
+     gst_caps_unref (typefind->caps);
+     typefind->caps = NULL;
+   }
+   
  }
  static void
  gst_type_find_element_set_property (GObject * object, guint prop_id,
