diff options
author | Daniel Mack <daniel@zonque.org> | 2014-10-07 11:32:07 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2014-10-07 11:38:31 +0200 |
commit | ca794c8e9583eb660f535af32c8c8281a284f270 (patch) | |
tree | 82e99eb89e2ee85fc730328ee099da1a53d445e2 /src/libsystemd/sd-bus/test-bus-error.c | |
parent | 4e3deeedc15b03197d591850061316289245c9a9 (diff) |
sd-bus: fix use-after-free in close_kdbus_msg()
Walk the items first, then free the memory of the message.
Also, while at it, make coverity happy with an explicit (void) prefix.
We intentionally ignore the return value here.
Diffstat (limited to 'src/libsystemd/sd-bus/test-bus-error.c')
0 files changed, 0 insertions, 0 deletions