diff --git a/modules/erlang/worker.c b/modules/erlang/worker.c index 0bf1be80672..86ad3f9d5d9 100644 --- a/modules/erlang/worker.c +++ b/modules/erlang/worker.c @@ -44,6 +44,7 @@ int worker_init(worker_handler_t *phandler, int fd, const ei_cnode *ec) phandler->sockfd = fd; phandler->ec = *ec; phandler->next = NULL; + phandler->new = NULL; return 0; }