]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONSendKey: Avoid double free
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Oct 2013 16:18:13 +0000 (18:18 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 15 Oct 2013 14:27:52 +0000 (16:27 +0200)
commit2484c1bde711864b02d0a606d9dcb912f3ad9d3a
treec4a894d4cff53f03254a08c6a76f3b0a4aee1626
parent0d79af2e5e02d7614289408a538b6077736b9557
qemuMonitorJSONSendKey: Avoid double free

After successful @cmd construction the memory where @keys points to is
part of @cmd. Avoid double freeing it.
(cherry picked from commit 3e8343e1510741623aa5bc1dfb74ec39fde868dd)
src/qemu/qemu_monitor_json.c