mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
check/memory: Don't leak the custom allocator
This commit is contained in:
parent
82c871a8a3
commit
170f77a669
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue