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:
82c871a
)
check/memory: Don't leak the custom allocator
author
Edward Hervey
<edward@centricular.com>
Mon, 28 Nov 2016 13:00:18 +0000
(14:00 +0100)
committer
Edward Hervey
<bilboed@bilboed.com>
Mon, 28 Nov 2016 13:02:23 +0000
(14:02 +0100)
tests/check/gst/gstmemory.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstmemory.c
b/tests/check/gst/gstmemory.c
index
c954a12
..
7f430ae
100644
(file)
--- a/
tests/check/gst/gstmemory.c
+++ b/
tests/check/gst/gstmemory.c
@@
-725,6
+725,7
@@
GST_START_TEST (test_no_error_and_no_warning_on_map_failure)
fail_if (info.maxsize != 0);
gst_memory_unref (mem);
+ gst_object_unref (alloc);
/* Restore previous logging state. */
gst_debug_set_default_threshold (prev_debug_threshold);