From 238b0473270b563e31178ed60751d177245a30dd Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 3 Feb 2004 22:07:24 +0000 Subject: [PATCH] fix memleaks shown by gst-typefind Original commit message from CVS: 2004-02-03 Benjamin Otte * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): * gst/typefind/gsttypefindfunctions.c: fix memleaks shown by gst-typefind --- ChangeLog | 6 ++++++ gst/typefind/gsttypefindfunctions.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index efd580e..73a5eae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-02-03 Benjamin Otte + + * ext/gdk_pixbuf/gstgdkpixbuf.c: (plugin_init): + * gst/typefind/gsttypefindfunctions.c: + fix memleaks shown by gst-typefind + 2004-02-03 Thomas Vander Stichele * common/glib-gen.mak: diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 482ee25..5bcd354 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -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++; \ -- 2.7.4