Re: [PATCH 1/7] Free mem allocated by getaddrinfo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nice work.

can you please backport to openais whitetank.

Thanks!
-steve

On 11/10/2011 03:54 AM, Angus Salkeld wrote:
> Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
> ---
>  exec/totemip.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/exec/totemip.c b/exec/totemip.c
> index f3c3d96..aceafdb 100644
> --- a/exec/totemip.c
> +++ b/exec/totemip.c
> @@ -304,6 +304,7 @@ int totemip_parse(struct totem_ip_address *totemip, const char *addr, int family
>  	else
>  		memcpy(totemip->addr, &sa6->sin6_addr, sizeof(struct in6_addr));
>  
> +	freeaddrinfo(ainfo);
>  	return 0;
>  }
>  

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux