diff options
Diffstat (limited to 'adapters/libevent.h')
-rw-r--r-- | adapters/libevent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/adapters/libevent.h b/adapters/libevent.h index 273d8b2..7d2bef1 100644 --- a/adapters/libevent.h +++ b/adapters/libevent.h @@ -73,8 +73,8 @@ static void redisLibeventDelWrite(void *privdata) { static void redisLibeventCleanup(void *privdata) { redisLibeventEvents *e = (redisLibeventEvents*)privdata; - event_del(e->rev); - event_del(e->wev); + event_free(e->rev); + event_free(e->wev); free(e); } |