]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationParamsNew: Use new memory allocation to simplify code
authorPeter Krempa <pkrempa@redhat.com>
Wed, 19 Aug 2020 11:13:29 +0000 (13:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 24 Aug 2020 14:34:50 +0000 (16:34 +0200)
commitda1831de964c02b5b0728bbd2c74dc2c1ff87042
tree1e26f2e892e72ee8b4c594991d571730c35570ed
parent9586367d7e5f9877314fa401a3d058adcad645ab
qemuMigrationParamsNew: Use new memory allocation to simplify code

Use automatic memory cleaning and allocate via g_new0.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_migration_params.c