tests: Add a test that verifies absence of file leaks
If an out of memory error happens in load_file there's a danger of leaking the FILE object. Since there is a limited supply of the objects we can easily test that the leak does not happen.
Please register or sign in to comment