diff options
| author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-19 20:43:57 +0200 | 
|---|---|---|
| committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-19 20:43:57 +0200 | 
| commit | 4ec97f5907e997e64071a52b6e5db2371ad84ab4 (patch) | |
| tree | 1765c2296c65c20270427f4d6bc3c41e85abb5d4 | |
| parent | f87625777de2429c0691e321106b9016d35a4e4b (diff) | |
| download | hiredict-4ec97f5907e997e64071a52b6e5db2371ad84ab4.tar.xz | |
Free reply in test.c to make hiredis-test run cleanly on Valgrind
| -rw-r--r-- | test.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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"); | 
