From e3776bfaa65bf40a7c43917c6985f0d83c1afd76 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Tue, 28 Dec 2010 19:19:25 +0100 Subject: Add function to explicitly free an async context --- async.h | 1 + 1 file changed, 1 insertion(+) (limited to 'async.h') diff --git a/async.h b/async.h index 3ebea4e..9819e0d 100644 --- a/async.h +++ b/async.h @@ -95,6 +95,7 @@ int redisAsyncSetReplyObjectFunctions(redisAsyncContext *ac, redisReplyObjectFun int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn); int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn); void redisAsyncDisconnect(redisAsyncContext *ac); +void redisAsyncFree(redisAsyncContext *ac); /* Handle read/write events */ void redisAsyncHandleRead(redisAsyncContext *ac); -- cgit v1.2.3