[Bug 695289] New: gst_buffer_copy_qdata replaces qdata (and leaks)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Wed Mar 6 06:00:03 PST 2013
https://bugzilla.gnome.org/show_bug.cgi?id=695289
GStreamer | gstreamer (core) | 0.10.x
Summary: gst_buffer_copy_qdata replaces qdata (and leaks)
Classification: Platform
Product: GStreamer
Version: 0.10.x
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: haakon.sporsheim at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created an attachment (id=238198)
View: https://bugzilla.gnome.org/attachment.cgi?id=238198
Review: https://bugzilla.gnome.org/review?bug=695289&attachment=238198
Test case to show issue and leak
If you do gst_buffer_copy_metadata() to transfer qdata from one buffer to
another, the old qdata structures will be lost and leak.
See attached patch which currently fails.
Running both gst/gstbuffer.check and gst/gstbuffer.valgrind will obviously
fail.
--
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