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 515704 - [gconf] Memory leak when creation of pipeline fails
[gconf] Memory leak when creation of pipeline fails
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-11 08:12 UTC by Sebastian Dröge (slomo)
Modified: 2008-02-11 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gconf.diff (783 bytes, patch)
2008-02-11 08:12 UTC, Sebastian Dröge (slomo)
committed Details | Review

Description Sebastian Dröge (slomo) 2008-02-11 08:12:23 UTC
Hi,
attached patch fixes a memory leak when creation of pipeline fails.
Comment 1 Sebastian Dröge (slomo) 2008-02-11 08:12:39 UTC
Created attachment 104899 [details] [review]
gconf.diff
Comment 2 Sebastian Dröge (slomo) 2008-02-11 13:47:38 UTC
2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>

	* ext/gconf/gconf.c: (gst_gconf_render_bin_with_default):
	Use and unset the GError when pipeline creation fails instead of
	simply leaking it. Fixes bug #515704.