From d05dcaaade3e64e20b0d0cdcd2db00177a907c13 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 14 Dec 2011 14:47:51 -0600 Subject: [PATCH] ok, windows... you missed the real err but you are still crying about this other one =/ --- libs/esl/src/esl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c index 8869acf43a..d8498b45f5 100644 --- a/libs/esl/src/esl.c +++ b/libs/esl/src/esl.c @@ -675,6 +675,8 @@ ESL_DECLARE(esl_status_t) esl_listen(const char *host, esl_port_t port, esl_list } handler = malloc(sizeof(*handler)); + esl_assert(handler); + memset(handler, 0, sizeof(*handler)); handler->callback = callback; handler->server_sock = server_sock;