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)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 26 Feb 2015 12:39:32 +0000 (14:39 +0200)
commit75e875b022deaf85b9d1cd46791c36e990627929
tree65d5f621f2ffa4e0a21e8ae86b6cd91d9e51776d
parent29098129be0af66f4cb430d7afa6d43cb39750c6
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