glshader: properly unref the stages on failure
authorMatthew Waters <matthew@centricular.com>
Wed, 11 Nov 2015 01:23:30 +0000 (12:23 +1100)
committerMatthew Waters <matthew@centricular.com>
Wed, 11 Nov 2015 03:41:38 +0000 (14:41 +1100)
commitf24e768cc3baac532b15e3f836d04178ef21dd6e
tree6f7a21fb9b08b3c2376d2b42044b369c2236c0fa
parent8d8063060e50a6c91946356f6655e4b5264ed09a
glshader: properly unref the stages on failure

When failing in the varargs functions, all the stage objects not handled need to
be unreffed to prevent a leak.
gst-libs/gst/gl/gstglshader.c
gst-libs/gst/gl/gstglutils.c