7f4a1aa143
In enic_alloc_consistent() function, if rte_malloc for mze is failed, !mze is true, memzone should be freed and function should return NULL. Fixes: da5f560be966 ("net/enic: fix memory freeing") Cc: stable@dpdk.org Signed-off-by: RongQiang Xie <xie.rongqiang@zte.com.cn> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>