Bug #400177: Memory leak in replication_mget_test
authorTrond Norbye <trond.norbye@sun.com>
Thu, 16 Jul 2009 11:28:19 +0000 (13:28 +0200)
committerTrond Norbye <trond.norbye@sun.com>
Thu, 16 Jul 2009 11:28:19 +0000 (13:28 +0200)
tests/function.c

index eba15993b243f7d6827b352146cce9c97a096223..dc373e7bb5d012d99484e21a537d53ffa15de733 100644 (file)
@@ -3737,6 +3737,8 @@ static test_return replication_mget_test(memcached_st *memc)
     memcached_free(new_clone);
   }
 
+  memcached_free(memc_clone);
+
   return TEST_SUCCESS;
 }