summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.c b/test.c
index 2b64fa9..4c7cac1 100644
--- a/test.c
+++ b/test.c
@@ -43,6 +43,7 @@ int main(void) {
reply = redisCommand(fd,"PING");
test_cond(reply->type == REDIS_REPLY_STRING &&
strcasecmp(reply->reply,"pong") == 0)
+ freeReplyObject(reply);
/* Switch to DB 9 for testing, now that we know we can chat. */
reply = redisCommand(fd,"SELECT 9");