summaryrefslogtreecommitdiff
path: root/tests/test.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-12 02:34:48 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2015-04-12 02:34:48 -0700
commitc5d07e2c2825129a37e8d3cac4c19ff3692c11f6 (patch)
tree0f19e27bef313861146e4cfdad501e2e9cfde1f5 /tests/test.cpp
parent2537cccad34b64086ad2ff47db07c3674b9be07a (diff)
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.
Diffstat (limited to 'tests/test.cpp')
0 files changed, 0 insertions, 0 deletions