From: Anthony Minessale Date: Wed, 14 Dec 2011 20:47:51 +0000 (-0600) Subject: ok, windows... you missed the real err but you are still crying about this other... X-Git-Tag: v1.2-rc1~27^2~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d05dcaaade3e64e20b0d0cdcd2db00177a907c13;p=thirdparty%2Ffreeswitch.git ok, windows... you missed the real err but you are still crying about this other one =/ --- 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;