diff options
Diffstat (limited to 'hiredis.c')
-rw-r--r-- | hiredis.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -129,6 +129,7 @@ static redisReply *redisReadIntegerReply(int fd) { if (buf == NULL) return redisIOError(); r->type = REDIS_REPLY_INTEGER; r->integer = strtoll(buf,NULL,10); + sdsfree(buf); return r; } |