From 046f70f758a263052a044f78e808a5ebf2bc24ca Mon Sep 17 00:00:00 2001 From: smly Date: Tue, 18 Oct 2011 20:18:26 +0900 Subject: [PATCH] Fixed a small memory leak I found with valgrind --- src/redis-check-dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/redis-check-dump.c b/src/redis-check-dump.c index 3fc17b67..77be686c 100644 --- a/src/redis-check-dump.c +++ b/src/redis-check-dump.c @@ -600,6 +600,7 @@ void process() { /* advance position */ positions[0] = positions[1]; } + free(entry.key); } /* because there is another potential error, -- 2.45.2