[sheepdog] [PATCH] sheep: fix memory leak at create_client()
Liu Yuan
namei.unix at gmail.com
Tue Dec 17 07:11:04 CET 2013
On Tue, Dec 17, 2013 at 02:32:50PM +0900, Hitoshi Mitake wrote:
> At Mon, 16 Dec 2013 21:10:44 +0900,
> Ryusuke Konishi wrote:
> >
> > The current create_client function does not free client_info structure
> > when getpeername() failed.
> >
> > This fixes the leak bug.
> >
> > Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> > ---
> > sheep/request.c | 4 +++-
> > 1 file changed, 3 insertions(+), 1 deletion(-)
>
> Looks good to me.
> Reviewed-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
Applied thanks
Yuan
More information about the sheepdog
mailing list