]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMigrationParamsResetTLS: Adapt to modern memory management
authorPeter Krempa <pkrempa@redhat.com>
Mon, 9 Mar 2020 07:03:49 +0000 (08:03 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 10:01:08 +0000 (11:01 +0100)
commit3b6110655013e9ae0ee933406c1ff0c7af2d4734
tree12971fafa8b549cd5f7479bfc48f4ca4c2ddebc2
parent38bc76bcc1e1bccb7f3265e15b60b0f6f8fe6dfa
qemuMigrationParamsResetTLS: Adapt to modern memory management

Use g_autofree instead of VIR_FREE and delete the comment mentioning
possible failure to allocate memory.

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