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:
7e60499
)
test/memzone: fix typo
author
Anatoly Burakov
<anatoly.burakov@intel.com>
Thu, 21 Dec 2017 18:19:42 +0000
(18:19 +0000)
committer
Thomas Monjalon
<thomas@monjalon.net>
Wed, 17 Jan 2018 23:32:48 +0000
(
00:32
+0100)
Fixes:
71330483a193
("test/memzone: fix memory leak")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Radoslaw Biernacki <radoslaw.biernacki@linaro.org>
test/test/test_memzone.c
patch
|
blob
|
history
diff --git
a/test/test/test_memzone.c
b/test/test/test_memzone.c
index
6e80977
..
68c20dc
100644
(file)
--- a/
test/test/test_memzone.c
+++ b/
test/test/test_memzone.c
@@
-919,11
+919,11
@@
test_memzone_basic(void)
return 0;
}
-static int memzone_
c
alk_called;
+static int memzone_
w
alk_called;
static void memzone_walk_clb(const struct rte_memzone *mz __rte_unused,
void *arg __rte_unused)
{
- memzone_
c
alk_called = 1;
+ memzone_
w
alk_called = 1;
}
static int
@@
-967,7
+967,7
@@
test_memzone(void)
printf("check memzone cleanup\n");
rte_memzone_walk(memzone_walk_clb, NULL);
- if (memzone_
c
alk_called) {
+ if (memzone_
w
alk_called) {
printf("there are some memzones left after test\n");
rte_memzone_dump(stdout);
return -1;