diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 02:34:48 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-04-12 02:34:48 -0700 |
commit | c5d07e2c2825129a37e8d3cac4c19ff3692c11f6 (patch) | |
tree | 0f19e27bef313861146e4cfdad501e2e9cfde1f5 /tests/test_parse.cpp | |
parent | 2537cccad34b64086ad2ff47db07c3674b9be07a (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_parse.cpp')
0 files changed, 0 insertions, 0 deletions