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 572766 - gst.Bus.set_sync_handler() leaks and can't be unset
gst.Bus.set_sync_handler() leaks and can't be unset
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.19
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-22 18:30 UTC by Edward Hervey
Modified: 2010-07-14 22:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2009-02-22 18:30:42 UTC
Calling gst.Bus.set_sync_handler() causes a leak on the callback and the arguments passed.

We should maybe use a closure system for this.
Comment 1 Alessandro Decina 2010-07-14 10:06:14 UTC
The leak was fixed ages ago by

commit 0fd4db686bd569c1751b94e4e6c078b31c35f017
Author: Alessandro Decina <alessandro.decina@collabora.co.uk>
Date:   Tue Mar 17 15:03:09 2009 +0100

    gstbus: fix refcounting in gst.Bus.set_sync_handler.