]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Do not leak @handles in stop netlink event service
authorWang King <king.wang@huawei.com>
Thu, 18 May 2017 04:06:42 +0000 (12:06 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 18 May 2017 11:26:05 +0000 (07:26 -0400)
commit506acac87f0621762281b509071e7472c49a692b
treea0afe6b5ae11aa162dc2269222bd74587ce922ed
parentc886b5d1532e45e017e9446726a6c8961d683dfb
util: Do not leak @handles in stop netlink event service

Commit e3ba4025 introduced srv->handles and VIR_RESIZE_N to allocate
@handles as necessary, but did not free the handles during when calling
virNetlinkEventServiceStop.
src/util/virnetlink.c