]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote: Replace VIR_ALLOC_N with g_new0 in remoteRelayDomainEventGraphics
authorPeter Krempa <pkrempa@redhat.com>
Tue, 22 Oct 2019 14:08:07 +0000 (16:08 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 24 Oct 2019 17:35:34 +0000 (19:35 +0200)
commitd89544f67250907f84dd67bf402a2615500a73d3
tree03e64a15f533359c2f6acbe513b579cfb352628d
parent694323bbb28ce33fc5bb3c31173cde073a14dd91
remote: Replace VIR_ALLOC_N with g_new0 in remoteRelayDomainEventGraphics

Allocate the array of graphics identity objects using g_new0 to allow
dropping the 'error' label.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
ACKed-by: Eric Blake <eblake@redhat.com>
src/remote/remote_daemon_dispatch.c