diff options
author | zhanghailiang <zhang.zhanghailiang@huawei.com> | 2017-02-28 11:54:18 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-03-06 11:46:02 +0800 |
commit | 0e79668e1ffcfabb259bea6c2a2bae00a6b27252 (patch) | |
tree | 530745cf641ca07f3d93720fb6f782c9373024c9 /include/sysemu | |
parent | a11f5cb005f9854f0d78da97fc23adf5bc8c83f3 (diff) |
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 'include/sysemu')
0 files changed, 0 insertions, 0 deletions