Re: [Qemu-devel] [PATCH V2] net/colo-compare: Fix memory free error

2017-02-22 Thread Jason Wang
On 2017年02月22日 13:16, Zhang Chen wrote: We use g_queue_init() to init s->conn_list, so we should use g_queue_clear() to instead of g_queue_free(). Signed-off-by: Zhang Chen Reviewed-by: zhanghailiang --- net/colo-compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, t

[Qemu-devel] [PATCH V2] net/colo-compare: Fix memory free error

2017-02-21 Thread Zhang Chen
We use g_queue_init() to init s->conn_list, so we should use g_queue_clear() to instead of g_queue_free(). Signed-off-by: Zhang Chen Reviewed-by: zhanghailiang --- net/colo-compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/colo-compare.c b/net/colo-compare.c inde