Commit 6cf2e85b authored by Rafael Zanella's avatar Rafael Zanella Committed by Pieter Noordhuis
Browse files

Update example.c

Added a call to redisFree()

Closes #148.
parent c552ca69
......@@ -69,5 +69,8 @@ int main(void) {
}
freeReplyObject(reply);
/* Disconnects and frees the context */
redisFree(c);
return 0;
}
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