RE: [PATCH 1/2] net/colo-compare.c: Fix memory leak for non-tcp packet

2020-11-15 Thread Zhang, Chen
> -Original Message- > From: Lukas Straub > Sent: Sunday, November 15, 2020 7:19 PM > To: qemu-devel > Cc: Zhang, Chen ; Li Zhijian > ; Jason Wang > Subject: [PATCH 1/2] net/colo-compare.c: Fix memory leak for non-tcp > packet > > Additional to removing

[PATCH 1/2] net/colo-compare.c: Fix memory leak for non-tcp packet

2020-11-15 Thread Lukas Straub
Additional to removing the packet from the secondary queue, we also need to free it. Signed-off-by: Lukas Straub --- net/colo-compare.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/colo-compare.c b/net/colo-compare.c index 337025b44f..eed0fbb27b 100644 --- a/net/colo-compare.c +++ b/n