]> 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 10:58:40 +0000 (12:58 +0200)
commitfde599a2af8bf7ee090924fd2efa1d1a642855af
treeac11aaf2ca8e321a17effcf2d2cc039deffb8279
parente3fb8465ec10494163671862158234572100f6c0
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