Update example.c

Added a call to redisFree()

Closes #148.
master
Rafael Zanella 2013-01-24 12:24:01 -02:00 committed by Pieter Noordhuis
parent c552ca6904
commit 6cf2e85bd2
1 changed files with 3 additions and 0 deletions

View File

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