X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest%2Ftest_compressdev.c;h=fbecaf9aaad4571f64f08fc6462f184251cbd862;hb=a2dfcd1ff609f5a4fd3b65774618a35c5c9f73c6;hp=c63b5b6737a4df40a647b83d265f64925011f354;hpb=4a6672c2d301c105189ae74de73260af204c5ee8;p=dpdk.git diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c index c63b5b6737..fbecaf9aaa 100644 --- a/app/test/test_compressdev.c +++ b/app/test/test_compressdev.c @@ -1256,7 +1256,7 @@ test_deflate_comp_run(const struct interim_data_params *int_data, /* * Store original operation index in private data, * since ordering does not have to be maintained, - * when dequeueing from compressdev, so a comparison + * when dequeuing from compressdev, so a comparison * at the end of the test can be done. */ priv_data = (struct priv_op_data *) (ops[i] + 1); @@ -2144,8 +2144,7 @@ exit: if (stream != NULL) rte_compressdev_stream_free(0, stream); - if (all_decomp_data != NULL) - rte_free(all_decomp_data); + rte_free(all_decomp_data); /* Free compress private xforms */ for (i = 0; i < test_priv_data.num_priv_xforms; i++) {