diff options
author | Edward Hervey <edward@centricular.com> | 2016-11-28 14:00:18 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2016-11-28 14:02:23 +0100 |
commit | 170f77a66940013f5c45e7907d5e56aaabde56a6 (patch) | |
tree | f7bed874e371864db446ae322037f94ee4f9f502 /tests | |
parent | 82c871a8a34cffd58f88ddc9eb1b38638a8bf9cf (diff) |
check/memory: Don't leak the custom allocator
Diffstat (limited to 'tests')
-rw-r--r-- | tests/check/gst/gstmemory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/gst/gstmemory.c b/tests/check/gst/gstmemory.c index c954a12d3..7f430aeb4 100644 --- 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); |