projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cfe0db
)
alloc: remove valgrind warning from test.
author
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:03:18 +0000
(21:33 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 31 Oct 2012 11:03:18 +0000
(21:33 +1030)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/alloc/test/run.c
patch
|
blob
|
history
diff --git
a/ccan/alloc/test/run.c
b/ccan/alloc/test/run.c
index 7c8fce3d76fd0f2202d4a136b1ce89712993c4cb..f9981e7038fb736166b74381ba26db6f3ab20881 100644
(file)
--- a/
ccan/alloc/test/run.c
+++ b/
ccan/alloc/test/run.c
@@
-162,6
+162,7
@@
static void test(unsigned int pool_size)
ok1(alloc_check(mem, pool_size));
free(mem);
+ free(p);
}
int main(int argc, char *argv[])