From fcd2bce48451825f32f05add83ced0923794d19a Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Mon, 21 Jan 2008 13:09:56 -0800 Subject: [PATCH] Fix lack of free() in bug (quiet valgrind) --- tests/function.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/function.c b/tests/function.c index 320eb1da..514fe3c2 100644 --- 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); -- 2.30.2