glupload: fix shader leak in test

https://bugzilla.gnome.org/show_bug.cgi?id=766663
This commit is contained in:
Guillaume Desmottes 2016-05-19 13:09:41 +03:00 committed by Sebastian Dröge
parent bebe4ca7ab
commit 6a02c8a109

View file

@ -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