[Bug 661629] [0.11] static_caps_get is racy
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Oct 17 05:04:03 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=661629
GStreamer | gstreamer (core) | git
René Stadler <mail> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.11.0
--- Comment #2 from René Stadler <mail at renestadler.de> 2011-10-17 12:04:01 UTC ---
Straight forward fix then:
commit 221836f452264e97e99ddec9cd59d9e853c7d52e
caps: fix race condition and memory leak in gst_static_caps_get
This was leaking the PtrArray from caps->priv, as set up by the other call to
gst_caps_init. Also, the thread safety issue presented in the comment above
was
not taken care of anymore. We now zero the refcount again when publishing the
structure.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list