gltestsrc: Fix potential NULL pointer dereference if we fail without GError
authorSebastian Dröge <sebastian@centricular.com>
Tue, 28 Feb 2017 13:22:43 +0000 (15:22 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:26 +0000 (19:32 +0000)
commitcb0dba61881f4863fbed3aff39578bc894e3c7b5
tree17b3f7d63f52e0bb4bfba9497d31f55d57fdb860
parent0e2f93589d9d3ebb3e619693e610d6bcc7058fb2
gltestsrc: Fix potential NULL pointer dereference if we fail without GError

Which can happen here if we just propagate an error that happened
elsewhere, e.g. FBO failed.

CID 1364604
ext/gl/gstgltestsrc.c