diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/example.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/example.c b/examples/example.c index c135fd0..8b2e7f7 100644 --- a/examples/example.c +++ b/examples/example.c @@ -69,5 +69,8 @@ int main(void) { } freeReplyObject(reply); + /* Disconnects and frees the context */ + redisFree(c); + return 0; } |