summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-05-19 13:09:41 +0300
committerSebastian Dröge <sebastian@centricular.com>2016-06-21 10:52:47 +0300
commit6a02c8a10927ad0c4dbb6e07b6e4e71923c4d69a (patch)
tree2e5de8c5a28f0e79e472182fb17b5afda6b4ccb1 /tests
parentbebe4ca7ab5637710d2aa973df389c121fb84614 (diff)
downloadgstreamer-plugins-bad-6a02c8a10927ad0c4dbb6e07b6e4e71923c4d69a.tar.gz
glupload: fix shader leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=766663
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglupload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c
index 64d7a332e..1befd415f 100644
--- a/tests/check/libs/gstglupload.c
+++ b/tests/check/libs/gstglupload.c
@@ -86,6 +86,8 @@ teardown (void)
gst_object_unref (window);
gst_object_unref (context);
gst_object_unref (display);
+ if (shader)
+ gst_object_unref (shader);
}
static void