clean_file_pool() has two tasks. One, close all the open file descriptors in the file pool. Second, free and set shared memory in the file pool to NULL. Currently any shared memory block in the pool's free list does not get freed or set to NULL, causing a test to fail.
clean_file_pool() has two tasks. One, close all the open file descriptors in the file pool. Second, free and set shared memory in the file pool to NULL. Currently any shared memory block in the pool's free list does not get freed or set to NULL, causing a test to fail.