After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 334995 - [goom] zoom filter leaked
[goom] zoom filter leaked
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-18 14:20 UTC by Paolo Borelli
Modified: 2006-03-20 17:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paolo Borelli 2006-03-18 14:20:40 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.
Comment 1 Jan Schmidt 2006-03-20 17:40:52 UTC
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)