projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
(from parent 1:
e2a313f
)
Updating to remove memory leak in functions.c (aka test cases).
author
Brian Aker
<brian@tangent.org>
Wed, 5 Dec 2007 22:46:48 +0000
(14:46 -0800)
committer
Brian Aker
<brian@tangent.org>
Wed, 5 Dec 2007 22:46:48 +0000
(14:46 -0800)
tests/function.c
patch
|
blob
|
history
diff --git
a/tests/function.c
b/tests/function.c
index 771178267b1d06c2fe29506605597f0b425cb39b..5d7fbf7dc460563bd3e6dca5cd082be6e729b3f1 100644
(file)
--- a/
tests/function.c
+++ b/
tests/function.c
@@
-1379,6
+1379,7
@@
uint8_t user_supplied_bug9(memcached_st *memc)
&return_value_length, &flags, &rc)) != NULL)
{
assert(return_value);
+ free(return_value);
count++;
}
assert(count == 3);