summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-06-29 21:57:32 +0200
committerSebastian Dröge <sebastian@centricular.com>2014-06-29 21:57:32 +0200
commit5cd10a10ab6194a68eb6137134056a4e80b4c500 (patch)
treee6556fc53759420a87f453e1b73a1ad178c37e8e /tests
parentd4a8d6798298d262f61aa5321520287616b51094 (diff)
downloadgstreamer-plugins-bad-5cd10a10ab6194a68eb6137134056a4e80b4c500.tar.gz
glupload: Fix memory leak in unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/libs/gstglupload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/libs/gstglupload.c b/tests/check/libs/gstglupload.c
index 5c014a477..1960b1eda 100644
--- a/tests/check/libs/gstglupload.c
+++ b/tests/check/libs/gstglupload.c
@@ -338,6 +338,7 @@ GST_START_TEST (test_upload_meta_producer)
gst_object_unref (upload_meta);
gst_gl_context_del_texture (context, &tex_ids[0]);
+ gst_buffer_unref (buffer);
}
GST_END_TEST;