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 765958 - uri: don't use _gst_uri_free() directly
uri: don't use _gst_uri_free() directly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 1.9.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-04 06:55 UTC by Guillaume Desmottes
Modified: 2016-05-04 07:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
uri: unref instead of using _gst_uri_free() directly (1.28 KB, patch)
2016-05-04 06:55 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2016-05-04 06:55:37 UTC
_gst_uri_free() is meant to be called by GstMiniObject when the last ref of the object is destroyed, not be called directly short cutting the reference system.
Comment 1 Guillaume Desmottes 2016-05-04 06:55:55 UTC
Created attachment 327266 [details] [review]
uri: unref instead of using _gst_uri_free() directly

This confuses gst_tracing as we shortcut the mini object reference
system.
Comment 2 Sebastian Dröge (slomo) 2016-05-04 07:08:40 UTC
Attachment 327266 [details] pushed as 0ff10ac - uri: unref instead of using _gst_uri_free() directly