tests: allocators: Fix fdmem test with recent GLib
The test failed with recent GLib, where g_close
emits a critical
warning on EBADF. Remove the g_close
check from test_fdmem
and add
another version that tests GST_FD_MEMORY_FLAG_DONT_CLOSE
.
We will depend on the Valgrind test run to warn us about leaked FDs.
Fixes: #2480 (closed)
Edited by Jan Alexander Steffens