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 529378 - faad leaks GstAudioChannelPosition
faad leaks GstAudioChannelPosition
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-04-22 13:20 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2008-04-22 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix the leak (858 bytes, patch)
2008-04-22 13:21 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2008-04-22 13:20:31 UTC
There are several leaks of this kind:

==4528== 8 bytes in 1 blocks are definitely lost in loss record 239 of 5,785
==4528==    at 0x4022765: malloc (vg_replace_malloc.c:149)
==4528==    by 0x416EAF5: g_malloc (in /usr/lib/libglib-2.0.so.0.1400.1)
==4528==    by 0x44E3D19: gst_faad_chanpos_to_gst (gstfaad.c:446)
==4528==    by 0x44E423B: gst_faad_srcgetcaps (gstfaad.c:612)
==4528==    by 0x408BDDE: gst_pad_get_caps_unlocked (gstpad.c:1977)
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2008-04-22 13:21:27 UTC
Created attachment 109688 [details] [review]
fix the leak
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2008-04-22 15:08:52 UTC
2008-04-22  Stefan Kost  <ensonic@users.sf.net>

	* ext/faad/gstfaad.c:
	  Don't leak GstAudioChannelPosition. Fixes #529378.