regexdev: fix section attribute of symbols
[dpdk.git] / app / test-crypto-perf / cperf_test_verify.c
index 496eb0d..c031330 100644 (file)
@@ -42,8 +42,7 @@ cperf_verify_test_free(struct cperf_verify_ctx *ctx)
                        rte_cryptodev_sym_session_free(ctx->sess);
                }
 
-               if (ctx->pool)
-                       rte_mempool_free(ctx->pool);
+               rte_mempool_free(ctx->pool);
 
                rte_free(ctx);
        }