test/ipsec: fix tear down
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 28 Jun 2019 13:29:21 +0000 (14:29 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commit74f44dd807ab9fcf5975915c00cb872ba88fa7c6
tree321569896b676d32cc03590b36f5e09a1f275d62
parentba3f160318b392f40133cb4d320bd742ddc11f69
test/ipsec: fix tear down

Set freed cop pointers to NULL
Set other freed pointers to NULL instead of 0

Fixes: 05fe65eb66b2 ("test/ipsec: introduce functional test")
Cc: stable@dpdk.org
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
app/test/test_ipsec.c