Commit ff73f1f9 authored by Alex Smith's avatar Alex Smith Committed by michael-grunder
Browse files

redisReply: Explicitly list nil and bool cases in freeReplyObject() switch.

parent 0f925188
...@@ -96,6 +96,8 @@ void freeReplyObject(void *reply) { ...@@ -96,6 +96,8 @@ void freeReplyObject(void *reply) {
switch(r->type) { switch(r->type) {
case REDIS_REPLY_INTEGER: case REDIS_REPLY_INTEGER:
case REDIS_REPLY_NIL:
case REDIS_REPLY_BOOL:
break; /* Nothing to free */ break; /* Nothing to free */
case REDIS_REPLY_ARRAY: case REDIS_REPLY_ARRAY:
case REDIS_REPLY_MAP: case REDIS_REPLY_MAP:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment