projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed a small memory leak I found with valgrind
[redis.git]
/
src
/
debug.c
diff --git
a/src/debug.c
b/src/debug.c
index 05181912f78b5ac59a141153ffd8d4018f2ad701..7751adf932b280d552d410c7de2537c0bd85a430 100644
(file)
--- a/
src/debug.c
+++ b/
src/debug.c
@@
-222,7
+222,7
@@
void debugCommand(redisClient *c) {
}
emptyDb();
if (rdbLoad(server.dbfilename) != REDIS_OK) {
- addReply
(c,shared.err
);
+ addReply
Error(c,"Error trying to load the RDB dump"
);
return;
}
redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD");