chiark / gitweb /
sd-bus: fix use-after-free in close_kdbus_msg()
authorDaniel Mack <daniel@zonque.org>
Tue, 7 Oct 2014 09:32:07 +0000 (11:32 +0200)
committerDaniel Mack <daniel@zonque.org>
Tue, 7 Oct 2014 09:38:31 +0000 (11:38 +0200)
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.


No differences found