projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
2c9c96d
)
Fix lack of free() in bug (quiet valgrind)
author
Brian Aker
<brian@tangent.org>
Mon, 21 Jan 2008 21:09:56 +0000
(13:09 -0800)
committer
Brian Aker
<brian@tangent.org>
Mon, 21 Jan 2008 21:09:56 +0000
(13:09 -0800)
tests/function.c
patch
|
blob
|
history
diff --git
a/tests/function.c
b/tests/function.c
index 320eb1da565e6df559d7f6c563befa388da09c67..514fe3c2fb8673f3977fc49053a353801e48b605 100644
(file)
--- a/
tests/function.c
+++ b/
tests/function.c
@@
-1630,6
+1630,7
@@
uint8_t user_supplied_bug12(memcached_st *memc)
&value_length, &flags, &rc);
assert(value);
assert(rc == MEMCACHED_SUCCESS);
+ free(value);
rc= memcached_increment(memc, "autoincrement", strlen("autoincrement"),
1, &number_value);