Update example.c

Added a call to redisFree()

Closes #148.
This commit is contained in:
Rafael Zanella 2013-01-24 12:24:01 -02:00 committed by Pieter Noordhuis
parent c552ca6904
commit 6cf2e85bd2

View File

@ -69,5 +69,8 @@ int main(void) {
} }
freeReplyObject(reply); freeReplyObject(reply);
/* Disconnects and frees the context */
redisFree(c);
return 0; return 0;
} }