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 515720 - [xvid] Memory leak caused by not unsetting GValue
[xvid] Memory leak caused by not unsetting GValue
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-11 09:36 UTC by Sebastian Dröge (slomo)
Modified: 2008-02-11 13:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xvid.diff (593 bytes, patch)
2008-02-11 09:40 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2008-02-11 09:36:13 UTC
Hi,
attached patch fixes a memleak in xvidenc, that is caused by not unsetting a GValue. This showed up while running the states unit test in valgrind.
Comment 1 Sebastian Dröge (slomo) 2008-02-11 09:40:14 UTC
Created attachment 104903 [details] [review]
xvid.diff
Comment 2 Sebastian Dröge (slomo) 2008-02-11 13:32:46 UTC
2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>

	* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
	Unset GValues after using them. Fixes bug #515720.