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 759300 - element: unref message in _post_message when there is no implementation
element: unref message in _post_message when there is no implementation
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.7.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-12-10 13:41 UTC by Aurélien Zanelli
Modified: 2015-12-10 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
element: unref message in _post_message when there is no implementation (1003 bytes, patch)
2015-12-10 13:43 UTC, Aurélien Zanelli
committed Details | Review

Description Aurélien Zanelli 2015-12-10 13:41:53 UTC
The 'gst_element_post_message' takes the ownership of the passed message, but when there is no implementation of the post_message method, the message is not unref, thus leaking it.
Comment 1 Aurélien Zanelli 2015-12-10 13:43:49 UTC
Created attachment 317114 [details] [review]
element: unref message in _post_message when there is no implementation
Comment 2 Sebastian Dröge (slomo) 2015-12-10 14:45:26 UTC
Attachment 317114 [details] pushed as 51a70dd - element: unref message in _post_message when there is no implementation