fix memleaks shown by gst-typefind

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
This commit is contained in:
Benjamin Otte 2004-02-03 22:07:24 +00:00
parent aa67552268
commit 238b047327
2 changed files with 7 additions and 1 deletions

View file

@ -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:

View 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++; \