Re: [PATCH] tgtd: fix memory leaks at it_nexus_create()
FUJITA Tomonori <[email protected]>
| Newsgroups | org.kernel.vger.stgt |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 9 Dec 2013 03:32:19 +0900 Ryusuke Konishi <[email protected]> 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 <[email protected]> > --- > usr/target.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) Nice catch, thanks!