]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Replace all use of 'g_new' with 'g_new0'
authorPeter Krempa <pkrempa@redhat.com>
Tue, 7 Oct 2025 16:25:53 +0000 (18:25 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 8 Oct 2025 07:24:42 +0000 (09:24 +0200)
commita74b5bc37f3ea3648889bb650ab0e98cd0bc21eb
tree37d807c061c85823ef90c7ad6d26f573787a564d
parent5bc43f95e506c4bab85d9953b52a9794187667c4
Replace all use of 'g_new' with 'g_new0'

Always use the version which clears the allocated memory.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/network/network_pf.c
src/qemu/qemu_nbdkit.c
src/qemu/qemu_process.c