Hi Daniel,
thanks for reverting this (and the other) commit, did not noticed the build warning here
yesterday.
Cheers,
Henning
-----Original Message-----
From: sr-dev <sr-dev-bounces(a)lists.kamailio.org> On Behalf Of Daniel-Constantin
Mierla
Sent: Saturday, October 3, 2020 8:12 AM
To: sr-dev(a)lists.kamailio.org
Subject: [sr-dev] git:5.3:96050be4: Revert "evapi: free addr info in case of bind
error"
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) {
_______________________________________________
Kamailio (SER) - Development Mailing List sr-dev(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev