summaryrefslogtreecommitdiff
path: root/adapters/ae.h
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/ae.h')
-rw-r--r--adapters/ae.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/ae.h b/adapters/ae.h
index 5c551c2..0393992 100644
--- a/adapters/ae.h
+++ b/adapters/ae.h
@@ -108,7 +108,7 @@ static int redisAeAttach(aeEventLoop *loop, redisAsyncContext *ac) {
return REDIS_ERR;
/* Create container for context and r/w events */
- e = (redisAeEvents*)malloc(sizeof(*e));
+ e = (redisAeEvents*)hi_malloc(sizeof(*e));
e->context = ac;
e->loop = loop;
e->fd = c->fd;