[sr-dev] git:5.3:96050be4: Revert "evapi: free addr info in case of bind error"

Daniel-Constantin Mierla miconda at gmail.com
Mon Oct 5 09:42:56 CEST 2020


Hello,

travis-ci should send notifications on sr-dev, but apparently doesn't do
it always. Probably is good to check the build results manually after
doing a lot of backports:

  * https://travis-ci.org/github/kamailio/kamailio/branches

Or maybe we can add badges that show builds results for maintained
branches somewhere to be easy to spot...

Cheers,
Daniel

On 03.10.20 09:40, Henning Westerholt wrote:
> 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 at lists.kamailio.org> On Behalf Of Daniel-Constantin Mierla
> Sent: Saturday, October 3, 2020 8:12 AM
> To: sr-dev at 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/96050be487de79b86f0b044a17aeb27fd162db7d
>
> Author: Daniel-Constantin Mierla <miconda at gmail.com>
> Committer: Daniel-Constantin Mierla <miconda at 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/96050be487de79b86f0b044a17aeb27fd162db7d.diff
> Patch: https://github.com/kamailio/kamailio/commit/96050be487de79b86f0b044a17aeb27fd162db7d.patch
>
> ---
>
> 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 at lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla




More information about the sr-dev mailing list