summaryrefslogtreecommitdiff
path: root/adapters/libev.h
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/libev.h')
-rw-r--r--adapters/libev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/libev.h b/adapters/libev.h
index 2bf8d52..abad436 100644
--- a/adapters/libev.h
+++ b/adapters/libev.h
@@ -119,7 +119,7 @@ static int redisLibevAttach(EV_P_ redisAsyncContext *ac) {
return REDIS_ERR;
/* Create container for context and r/w events */
- e = (redisLibevEvents*)malloc(sizeof(*e));
+ e = (redisLibevEvents*)hi_malloc(sizeof(*e));
e->context = ac;
#if EV_MULTIPLICITY
e->loop = loop;