[sheepdog] [PATCH] sheep: fix memory leak at create_client()

Hitoshi Mitake mitake.hitoshi at gmail.com
Tue Dec 17 06:32:50 CET 2013


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>

Thanks,
Hitoshi



More information about the sheepdog mailing list