net/ice/base: fix memory leak
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:12 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit348ea028ea9fd9873c40d776035a76447aa666b1
treee1d4670934d513ab8fd49c619270e6db1fbc8af0
parent2db7c617f660b9e1cfd3a7bae9696f190d9a73ab
net/ice/base: fix memory leak

Need to free new ice_vsig_prof if no valid ptype can be found.

Fixes: d935fb5bb091 ("net/ice/base: fix packet type size")
Cc: stable@dpdk.org
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_flex_pipe.c