mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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:
parent
7340549ab3
commit
aacfb9b993
2 changed files with 11 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -431,12 +431,16 @@ gst_gdk_pixbuf_type_find (GstTypeFind *tf, gpointer ignore)
|
|||
static gboolean
|
||||
plugin_init (GstPlugin *plugin)
|
||||
{
|
||||
GstCaps *caps;
|
||||
|
||||
if (!gst_element_register (plugin, "gdkpixbufdec", GST_RANK_NONE, GST_TYPE_GDK_PIXBUF))
|
||||
return FALSE;
|
||||
|
||||
caps = GST_CAPS_ANY;
|
||||
gst_type_find_register (plugin, "image/*", GST_RANK_MARGINAL,
|
||||
gst_gdk_pixbuf_type_find, NULL,
|
||||
gst_caps_copy(GST_CAPS_ANY), NULL);
|
||||
caps, NULL);
|
||||
gst_caps_free (caps);
|
||||
|
||||
/* plugin initialisation succeeded */
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue