]> git.saurik.com Git - redis.git/blobdiff - src/redis-check-dump.c
Fixed a small memory leak I found with valgrind
[redis.git] / src / redis-check-dump.c
index 3fc17b67ac1ad2395b34d28bf0fdab200af9ad93..77be686c2454c6b6c1b7de9b528d249d0f534118 100644 (file)
@@ -600,6 +600,7 @@ void process() {
             /* advance position */
             positions[0] = positions[1];
         }
+        free(entry.key);
     }
 
     /* because there is another potential error,