git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/bnxt: fix null dereference in session cleanup
[dpdk.git]
/
app
/
test
/
test_compressdev.c
diff --git
a/app/test/test_compressdev.c
b/app/test/test_compressdev.c
index
a1b9f06
..
fbecaf9
100644
(file)
--- 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,
/*
* Store original operation index in private data,
* since ordering does not have to be maintained,
- * when dequeu
e
ing 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);
* at the end of the test can be done.
*/
priv_data = (struct priv_op_data *) (ops[i] + 1);
@@
-2033,7
+2033,7
@@
test_deflate_comp_decomp(const struct interim_data_params *int_data,
test_priv_data.all_decomp_data = &all_decomp_data;
test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
test_priv_data.all_decomp_data = &all_decomp_data;
test_priv_data.decomp_produced_data_size = &decomp_produced_data_size;
- test_priv_data.num_priv_xforms = 0; /* it's used for deompression only */
+ test_priv_data.num_priv_xforms = 0; /* it's used for de
c
ompression only */
capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
if (capa == NULL) {
capa = rte_compressdev_capability_get(0, RTE_COMP_ALGO_DEFLATE);
if (capa == NULL) {
@@
-2144,8
+2144,7
@@
exit:
if (stream != NULL)
rte_compressdev_stream_free(0, stream);
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++) {
/* Free compress private xforms */
for (i = 0; i < test_priv_data.num_priv_xforms; i++) {