summaryrefslogtreecommitdiff
path: root/adapters/libevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/libevent.h')
-rw-r--r--adapters/libevent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/libevent.h b/adapters/libevent.h
index a495277..0674ca6 100644
--- a/adapters/libevent.h
+++ b/adapters/libevent.h
@@ -152,7 +152,7 @@ static int redisLibeventAttach(redisAsyncContext *ac, struct event_base *base) {
return REDIS_ERR;
/* Create container for context and r/w events */
- e = (redisLibeventEvents*)calloc(1, sizeof(*e));
+ e = (redisLibeventEvents*)hi_calloc(1, sizeof(*e));
e->context = ac;
/* Register functions to start/stop listening for events */