From: Guillaume Desmottes Date: Thu, 19 May 2016 10:09:41 +0000 (+0300) Subject: glupload: fix shader leak in test X-Git-Tag: 1.10.4~580 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a02c8a10927ad0c4dbb6e07b6e4e71923c4d69a;p=platform%2Fupstream%2Fgst-plugins-bad.git glupload: fix shader leak in test https://bugzilla.gnome.org/show_bug.cgi?id=766663 --- diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c index 64d7a33..1befd41 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