ext/libuv/src/fs-poll.c in libuv-1.3.0 vs ext/libuv/src/fs-poll.c in libuv-2.0.0
- old
+ new
@@ -65,10 +65,10 @@
if (uv__is_active(handle))
return 0;
loop = handle->loop;
len = strlen(path);
- ctx = calloc(1, sizeof(*ctx) + len);
+ ctx = uv__calloc(1, sizeof(*ctx) + len);
if (ctx == NULL)
return UV_ENOMEM;
ctx->loop = loop;