GNOME Bugzilla – Bug 515708
[dvdsubparse] Leaks a pad template
Last modified: 2008-02-11 13:30:37 UTC
Hi, dvdsubparse currently leaks a pad template. gst_static_pad_template_get() creates a new pad template that needs to be unref'ed after use. Instead of the dubious gst_pad_template_get_caps (gst_static_pad_template_get()) one should probably use gst_static_pad_template_get_caps(). Patch is attached.
Created attachment 104900 [details] [review] dvdsub.diff
2008-02-11 Sebastian Dröge <slomo@circular-chaos.org> * gst/dvdsub/gstdvdsubparse.c: (gst_dvd_sub_parse_init): Stop leaking src pad templates. Fixes bug #515708.