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/mlx5: fix counter in non-termination meter
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_vector_parsing.c
diff --git
a/app/test-crypto-perf/cperf_test_vector_parsing.c
b/app/test-crypto-perf/cperf_test_vector_parsing.c
index
1e9dfcf
..
87f3a90
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_vector_parsing.c
+++ b/
app/test-crypto-perf/cperf_test_vector_parsing.c
@@
-551,10
+551,8
@@
parse_file(struct cperf_test_vector *vector, struct cperf_options *opts)
err:
if (fp)
fclose(fp);
- if (line)
- free(line);
- if (entry)
- rte_free(entry);
+ free(line);
+ rte_free(entry);
return -1;
}