]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Set *neventCallbacks to zero at DEREG_CB
authorxinhua.Cao <caoxinhua@huawei.com>
Sat, 11 Nov 2017 08:30:41 +0000 (16:30 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Sun, 12 Nov 2017 14:35:37 +0000 (09:35 -0500)
commitb0087976624638940a0293357013b6f24ccf015d
treed6233fef68e8313cbd81d42db05f02ff863f8683
parentef5c8a91aab695acd8dce19182eb325b0fc65916
remote: Set *neventCallbacks to zero at DEREG_CB

To avoid the chance that the loop is run twice, set the neventCallbacks
to zero after VIR_FREE(eventCallbacks) was called.
daemon/remote.c