[libvirt] [PATCH 3/4] remote: Use g_new0 to allocate 'remote_string' in event RPC handlers
Eric Blake
eblake at redhat.com
Wed Oct 23 03:11:56 UTC 2019
On 10/22/19 9:45 AM, Peter Krempa wrote:
> Few events emit optional strings. We need to allocate the container for
> it first. Note that remote_nonnull_string is used as the type as the
> internal part of the string is nonnull if the container is present.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/remote/remote_daemon_dispatch.c | 27 ++++-----------------------
> 1 file changed, 4 insertions(+), 23 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