projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e772f
)
Fixed a small memory leak I found with valgrind
author
smly
<eowner@gmail.com>
Tue, 18 Oct 2011 11:18:26 +0000
(20:18 +0900)
committer
smly
<eowner@gmail.com>
Tue, 18 Oct 2011 11:18:26 +0000
(20:18 +0900)
src/redis-check-dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/redis-check-dump.c
b/src/redis-check-dump.c
index 3fc17b67ac1ad2395b34d28bf0fdab200af9ad93..77be686c2454c6b6c1b7de9b528d249d0f534118 100644
(file)
--- 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,