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
examples/pipeline: improve learner table timers
[dpdk.git]
/
app
/
test
/
test_malloc.c
diff --git
a/app/test/test_malloc.c
b/app/test/test_malloc.c
index
8db500c
..
de40e50
100644
(file)
--- a/
app/test/test_malloc.c
+++ b/
app/test/test_malloc.c
@@
-823,7
+823,7
@@
test_zero_aligned_alloc(void)
err_return:
/*clean up */
-
if (p1)
rte_free(p1);
+ rte_free(p1);
return -1;
}
@@
-876,8
+876,7
@@
test_malloc_bad_params(void)
err_return:
/* clean up pointer */
- if (bad_ptr)
- rte_free(bad_ptr);
+ rte_free(bad_ptr);
return -1;
}