]> 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 11:26:55 +0000 (13:26 +0200)
commit5b2b4d5e6308fbef2d427d73f9c984b3141905fa
treed611a08d3a0bbc7c3a8572e45bf5f2a5e41a5457
parent168f70cfe99d3c276ec60e70d4f30f4f377f1502
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