]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
qemuMonitorJSONSendKey: Avoid double free
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Oct 2013 16:18:13 +0000 (18:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Oct 2013 06:57:57 +0000 (08:57 +0200)
commit3e8343e1510741623aa5bc1dfb74ec39fde868dd
tree3a73108b0a4ae29115078b40a89d6396f553c02c
parentec07a9e84b39277dc31ee17bffbac2af2f83c777
qemuMonitorJSONSendKey: Avoid double free

After successful @cmd construction the memory where @keys points to is
part of @cmd. Avoid double freeing it.
src/qemu/qemu_monitor_json.c