[Bug 728502] ximagesrc has a serious shmem leak
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue May 20 14:39:54 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=728502
GStreamer | gst-plugins-good | 1.2.4
--- Comment #8 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2014-05-20 21:39:48 UTC ---
Created an attachment (id=276899)
View: https://bugzilla.gnome.org/attachment.cgi?id=276899
Review: https://bugzilla.gnome.org/review?bug=728502&attachment=276899
[PATCH] ximagesrc: Fix ximage leaks when buffer has more then one ximage
>From time to time, when the image_pool list has more then 1 element
and I suppose at start, all but 1 pooled ximage are leaked. This is
due to broken algorithm in gst_ximagesink_src_ximage_get(). There was
also a risk of use after free for the case where the ximage size has
changed.
https://bugzilla.gnome.org/show_bug.cgi?id=728502
---
sys/ximage/gstximagesrc.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
--
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