fix memleaks shown by gst-typefind
authorBenjamin Otte <otte@gnome.org>
Tue, 3 Feb 2004 22:07:24 +0000 (22:07 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 3 Feb 2004 22:07:24 +0000 (22:07 +0000)
Original commit message from CVS:
2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init):
* gst/typefind/gsttypefindfunctions.c:
fix memleaks shown by gst-typefind

ChangeLog
gst/typefind/gsttypefindfunctions.c

index efd580e..73a5eae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-02-03  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
+       * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init):
+       * gst/typefind/gsttypefindfunctions.c:
+         fix memleaks shown by gst-typefind
+
 2004-02-03  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * common/glib-gen.mak:
index 482ee25..5bcd354 100644 (file)
@@ -69,7 +69,7 @@ utf8_type_find (GstTypeFind *tf, gpointer unused)
 /*** text/uri-list ************************************************************/
 
 static GstStaticCaps uri_caps = GST_STATIC_CAPS ("text/uri-list");
-#define URI_CAPS gst_caps_copy(gst_static_caps_get(&uri_caps))
+#define URI_CAPS (gst_static_caps_get(&uri_caps))
 #define BUFFER_SIZE 16 /* If the string is < 16 bytes we're screwed */
 #define INC_BUFFER {                                                   \
   pos++;                                                               \