summaryrefslogtreecommitdiffstats
path: root/scripts/qapi-visit.py
diff options
context:
space:
mode:
authorzhanghailiang2017-02-28 04:54:18 +0100
committerJason Wang2017-03-06 04:46:02 +0100
commit0e79668e1ffcfabb259bea6c2a2bae00a6b27252 (patch)
tree530745cf641ca07f3d93720fb6f782c9373024c9 /scripts/qapi-visit.py
parentvmxnet3: VMStatify rx/tx q_descr and int_state (diff)
downloadqemu-0e79668e1ffcfabb259bea6c2a2bae00a6b27252.tar.gz
qemu-0e79668e1ffcfabb259bea6c2a2bae00a6b27252.tar.xz
qemu-0e79668e1ffcfabb259bea6c2a2bae00a6b27252.zip
net/colo: fix memory double free error
The 'primary_list' and 'secondary_list' members of struct Connection is not allocated through dynamically g_queue_new(), but we free it by using g_queue_free(), which will lead to a double-free bug. Reviewed-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'scripts/qapi-visit.py')
0 files changed, 0 insertions, 0 deletions