[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haproxy
Subject:    Re: [PATCH] BUG/MINOR: deinit: free fdinfo while doing cleanup
From:       Willy Tarreau <w () 1wt ! eu>
Date:       2013-06-26 9:53:55
Message-ID: 20130626095355.GB4791 () 1wt ! eu
[Download RAW message or body]

Hi Godbach,

On Wed, Jun 26, 2013 at 05:05:31PM +0800, Godbach wrote:
> Hi Willy,
> 
> The pointer fdinfo is allocated memory when haproxy is starting, but is
> not freed when haproxy exits. It should be a minor bug and there is a
> patch in attatchment for your information.
> 
> The commit log is as follows:
> 
> Both fdinfo and fdtab are allocated memory in init() while haproxy is
> starting, but only fdtab was freed in deinit(), fdinfo should also be freed.

Makes sense, I've applied it.

Thank you.
Willy


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic