client: fix memory leak in client msg
client: fix memory leak in client msg

When closing client->waitDispatch in virNetClientIOEventLoopRemoveAll
or virNetClientIOEventLoopRemoveDone, VIR_FREE() is called to free
call->msg directly, resulting in leak of the memory call->msg->buffer
points to.
Use virNetMessageFree(call->msg) instead of VIR_FREE(call->msg).

Signed-off-by: Hao Wang <452447e48e0d9d47bb928a758ff1148048d69340@huawei.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

olafhering/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,jardasgit/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,jardasgit/libvirt,jardasgit/libvirt,zippy2/libvirt,libvirt/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,jardasgit/libvirt,crobinso/libvirt,jardasgit/libvirt,jfehlig/libvirt,olafhering/libvirt,crobinso/libvirt,libvirt/libvirt,zippy2/libvirt,zippy2/libvirt,crobinso/libvirt,nertpinx/libvirt,nertpinx/libvirt,jfehlig/libvirt,jfehlig/libvirt