projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82dc6a4
)
tests: glmemory: fix leaks in unit test
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 09:23:15 +0000
(09:23 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 10:51:40 +0000
(10:51 +0000)
tests/check/libs/gstglmemory.c
patch
|
blob
|
history
diff --git
a/tests/check/libs/gstglmemory.c
b/tests/check/libs/gstglmemory.c
index
4373e09
..
23489bf
100644
(file)
--- a/
tests/check/libs/gstglmemory.c
+++ b/
tests/check/libs/gstglmemory.c
@@
-433,6
+433,8
@@
GST_START_TEST (test_transfer_state)
GST_GL_BASE_MEMORY_TRANSFER_NEED_UPLOAD));
fail_unless (GST_MEMORY_FLAG_IS_SET (mem,
GST_GL_BASE_MEMORY_TRANSFER_NEED_DOWNLOAD));
+
+ gst_memory_unref (mem);
}
GST_END_TEST;