[Bug 745206] glimagesink: crash when using meta:GLTextureUpload method

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Feb 26 07:31:01 PST 2015


--- Comment #4 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 297997
  --> https://bugzilla.gnome.org/attachment.cgi?id=297997&action=edit
glupload: avoid freeing method implementation twice

When uploading a buffer, several methods are checked. If one fails, then
the next is tried.

In case of error the method implementation is freed and _upload_find_method()
is called. Nevertheless, _upload_find_method() also frees the method
implementation, leading to a double free segmentation fault.

This patch removes the free call in gst_gl_upload_perform_with_buffer() when
error, since it is done in _upload_find_method().

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