[stgt] [PATCH] tgtd: fix memory leaks at it_nexus_create()

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Dec 10 01:47:17 CET 2013


On Mon,  9 Dec 2013 03:32:19 +0900
Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp> wrote:

> The it_nexus_create function exits without freeing it_nexus_lu_info
> struct nor it_nexus struct at error paths.
> 
> This fixes the leak bugs.
> 
> Signed-off-by: Ryusuke Konishi <konishi.ryusuke at lab.ntt.co.jp>
> ---
>  usr/target.c |    5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Nice catch, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list