Module: kamailio
Branch: 5.3
Commit: 96050be487de79b86f0b044a17aeb27fd162db7d
URL:
https://github.com/kamailio/kamailio/commit/96050be487de79b86f0b044a17aeb27…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-03T08:11:31+02:00
Revert "evapi: free addr info in case of bind error"
This reverts commit 4a56a8b780744d9ba35a94afbd5226bd7860179f.
---
Modified: src/modules/evapi/evapi_dispatch.c
---
Diff:
https://github.com/kamailio/kamailio/commit/96050be487de79b86f0b044a17aeb27…
Patch:
https://github.com/kamailio/kamailio/commit/96050be487de79b86f0b044a17aeb27…
---
diff --git a/src/modules/evapi/evapi_dispatch.c b/src/modules/evapi/evapi_dispatch.c
index e6a857fc26..655424f5d9 100644
--- a/src/modules/evapi/evapi_dispatch.c
+++ b/src/modules/evapi/evapi_dispatch.c
@@ -695,7 +695,6 @@ int evapi_run_dispatcher(char *laddr, int lport)
sizeof(evapi_srv_addr)) < 0) {
LM_ERR("cannot bind to local address and port [%s:%d]\n", laddr, lport);
close(evapi_srv_sock);
- freeaddrinfo(ai_res);
return -1;
}
if (listen(evapi_srv_sock, 4) < 0) {