]> git.proxmox.com Git - mirror_qemu.git/commit
target/i386/sev: Use g_autofree in sev_launch_get_measure()
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 7 Oct 2021 16:17:05 +0000 (18:17 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Oct 2021 08:47:49 +0000 (10:47 +0200)
commit2f573c415e8c84ec79aa6deb1d04fa9fccdebca7
tree6282f93b0b403abed1edd96774c90f51df0ff116
parented84ae720d0b28c50906412a903e598f75ee1d7c
target/i386/sev: Use g_autofree in sev_launch_get_measure()

Use g_autofree to remove a pair of g_free/goto.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20211007161716.453984-13-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/sev.c