git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1d30e4
)
test/timer_perf: fix memory leak
author
Anatoly Burakov
<anatoly.burakov@intel.com>
Tue, 6 Feb 2018 13:35:42 +0000
(13:35 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Tue, 6 Feb 2018 18:45:29 +0000
(19:45 +0100)
Fixes:
277afaf3dbcb
("app/test: add timer_perf")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
test/test/test_timer_perf.c
patch
|
blob
|
history
diff --git
a/test/test/test_timer_perf.c
b/test/test/test_timer_perf.c
index
afa3a06
..
0fe2b74
100644
(file)
--- a/
test/test/test_timer_perf.c
+++ b/
test/test/test_timer_perf.c
@@
-127,6
+127,7
@@
test_timer_perf(void)
printf("Time per rte_timer_manage with zero callbacks: %"PRIu64" cycles\n",
(end_tsc - start_tsc + iterations/2) / iterations);
+ rte_free(tms);
return 0;
}