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 577735 - python bins with do_handle_message leak messages
python bins with do_handle_message leak messages
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-python
git master
Other Linux
: Normal normal
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-02 15:13 UTC by Thomas Vander Stichele
Modified: 2009-04-15 20:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (5.01 KB, patch)
2009-04-02 15:38 UTC, Thomas Vander Stichele
none Details | Review
patch (4.92 KB, patch)
2009-04-02 16:10 UTC, Thomas Vander Stichele
accepted-commit_now Details | Review

Description Thomas Vander Stichele 2009-04-02 15:13:32 UTC
gstbin.c bin_bus_handler always invokes the handler, then replies DROP.  a handler that replies DROP is supposed to unref the message itself.

However, gst-python's proxy do_handle_message doesn't drop the message ref.
Comment 1 Thomas Vander Stichele 2009-04-02 15:38:47 UTC
Created attachment 131920 [details] [review]
patch
Comment 2 Thomas Vander Stichele 2009-04-02 16:10:58 UTC
Created attachment 131927 [details] [review]
patch

tests if we had the message we wanted