mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
glupload: fix shader leak in test
https://bugzilla.gnome.org/show_bug.cgi?id=766663
This commit is contained in:
parent
0731b0937d
commit
e7217fad33
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue