]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ok, windows... you missed the real err but you are still crying about this other...
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 14 Dec 2011 20:47:51 +0000 (14:47 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 14 Dec 2011 20:47:51 +0000 (14:47 -0600)
libs/esl/src/esl.c

index 8869acf43a5f60e3dc066cbb032aa3be2cc282c0..d8498b45f5c52c4527692ae22147d2c0e6e62bec 100644 (file)
@@ -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;