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 Tim-Philipp Müller
parent 0731b0937d
commit e7217fad33

View file

@ -86,6 +86,8 @@ teardown (void)
gst_object_unref (window); gst_object_unref (window);
gst_object_unref (context); gst_object_unref (context);
gst_object_unref (display); gst_object_unref (display);
if (shader)
gst_object_unref (shader);
} }
static void static void