GNOME Bugzilla – Bug 334995
[goom] zoom filter leaked
Last modified: 2006-03-20 17:40:52 UTC
==6834== 80 bytes in 1 blocks are definitely lost in loss record 92 of 234 ==6834== at 0x401C422: malloc (vg_replace_malloc.c:149) ==6834== by 0x73D99ED: zoomFilterNew (filters.c:69) ==6834== by 0x73D8AAA: goom_init (goom_core.c:42) ==6834== by 0x73D7CAA: gst_goom_init (gstgoom.c:185) ==6834== by 0x4D69A81: g_type_create_instance (gtype.c:1567) ==6834== by 0x4D501A1: g_object_constructor (gobject.c:1015) ==6834== by 0x4D50814: g_object_newv (gobject.c:912) ==6834== by 0x4D513A4: g_object_new_valist (gobject.c:955) ==6834== by 0x4D5154D: g_object_new (gobject.c:793) ==6834== by 0x4B5233A: gst_element_factory_create (gstelementfactory.c:382) void goom_init (GoomData * goomdata, guint32 resx, guint32 resy) { ... goomdata->zfd = zoomFilterNew (); is never freed afaics.
Thanks for noticing. Fixed in CVS, along with a couple of other leaks: * gst/goom/filters.c: (zoomFilterDestroy): * gst/goom/goom_core.c: (goom_close): Free filter data when cleaning up. (Fixes: #334995)