net/colo-compare.c: Fix memory leak for non-tcp packet
commit9162ed664926fe6e8dfa2f43e152ab088b5369ed
authorLukas Straub <lukasstraub2@web.de>
Thu, 18 Mar 2021 04:11:51 +0000 (18 12:11 +0800)
committerJason Wang <jasowang@redhat.com>
Mon, 22 Mar 2021 09:34:31 +0000 (22 17:34 +0800)
tree6660e7ccd77e192d7ff183db9fdce5dc568c5df7
parentd4c6293041ee7941191a91e4ca2d2af4b0959599
net/colo-compare.c: Fix memory leak for non-tcp packet

Additional to removing the packet from the secondary queue,
we also need to free it.

Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/colo-compare.c