[libvirt] [PATCH 4/4] remote: Serialize typed parameters earlier
Eric Blake
eblake at redhat.com
Wed Oct 23 03:13:08 UTC 2019
On 10/22/19 9:45 AM, Peter Krempa wrote:
> Move calls to virTypedParamsSerialize earlier in the event dispatch
> functions so that we don't have to call 'xdr_free' afterwards.
>
> This is possible as virTypedParamsSerialize cleans up after itself if it
> fails.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/remote/remote_daemon_dispatch.c | 31 ++++++++++-------------------
> 1 file changed, 11 insertions(+), 20 deletions(-)
>
ACK
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
More information about the libvir-list
mailing list