diff options
Diffstat (limited to 'deps/uv/src/win/core.c')
-rw-r--r-- | deps/uv/src/win/core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/uv/src/win/core.c b/deps/uv/src/win/core.c index 5a76c90033..afdf01e787 100644 --- a/deps/uv/src/win/core.c +++ b/deps/uv/src/win/core.c @@ -249,8 +249,10 @@ int uv_loop_init(uv_loop_t* loop) { loop->endgame_handles = NULL; loop->timer_heap = timer_heap = uv__malloc(sizeof(*timer_heap)); - if (timer_heap == NULL) + if (timer_heap == NULL) { + err = UV_ENOMEM; goto fail_timers_alloc; + } heap_init(timer_heap); |