summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus/sd-bus.c
diff options
context:
space:
mode:
authorPhilippe De Swert <philippedeswert@gmail.com>2014-09-10 12:20:41 +0300
committerDavid Herrmann <dh.herrmann@gmail.com>2014-09-11 17:27:44 +0200
commitb67ddc7bbe31cde7f69f9814204d9bb1d4623c47 (patch)
treef6fe799504e198ff5071592c128f0e82f7e75c4c /src/libsystemd/sd-bus/sd-bus.c
parent21978bc3c90ec192130a9ea9df62a75d1262b80c (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/libsystemd/sd-bus/sd-bus.c')
0 files changed, 0 insertions, 0 deletions