]> 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:03:37 +0000 (16:03 +0200)
commit586a5bc0c6ca98101f6c9d7dafe4c3524f39b7e7
tree070adcacd04d4bf468943cb4464cf54823188e2b
parente0152c1edfc0b7ab739d440b94e94f581b079649
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