glupload: Set freed method implementation to NULL
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 26 Feb 2015 12:20:26 +0000 (13:20 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:55 +0000 (19:31 +0000)
commite3d457ec8eb5cd27bd545ce384f876da363d22ef
tree3a6ad7ce11793e636c2f4396e8ba414231b68010
parentd3c7f20aee13237762b9c7058b1fec3bfa6a7c30
glupload: Set freed method implementation to NULL

When trying to render buffers with meta:GLTextureUpload the glimagesink crashes
with a segmentation fault.

This patch workarounds this crash setting to NULL the method implementation
after free.

https://bugzilla.gnome.org/show_bug.cgi?id=745206
gst-libs/gst/gl/gstglupload.c