diff options
author | Philippe De Swert <philippedeswert@gmail.com> | 2014-09-10 12:20:41 +0300 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-09-11 17:27:44 +0200 |
commit | b67ddc7bbe31cde7f69f9814204d9bb1d4623c47 (patch) | |
tree | f6fe799504e198ff5071592c128f0e82f7e75c4c /src/test | |
parent | 21978bc3c90ec192130a9ea9df62a75d1262b80c (diff) |
journal: do not leak mmaps on OOM
After a section of memory is succesfully allocated, some of the following
actions can still fail due to lack of memory. In this case -ENOMEM is
returned without actually freeing the already mapped memory.
Found with coverity. Fixes: CID#1237762
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions