From: OGAWA Hirofumi Date: Tue, 29 Jul 2008 12:55:25 +0000 Subject: Re: [PATCH] fs/fat/dir.c fix resource leak Message-Id: <87hca8alz6.fsf@devron.myhome.or.jp> List-Id: References: <1217289813.9367.9.camel@localhost.localdomain> In-Reply-To: <1217289813.9367.9.camel@localhost.localdomain> (darrenrjenkins@gmail.com's message of "Tue, 29 Jul 2008 10:03:33 +1000") MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Darren Jenkins Cc: kernel Janitors , LKML "Darren Jenkins\" writes: > Coverity CID 2332 & 2333 RESOURCE_LEAK > > In fat_search_long() if fat_parse_long() returns a -ve value we return > without first freeing unicode and bufname. > This patch free's them on this error path. > > Signed-off-by: Darren Jenkins I'll apply to current code. Thanks. BTW, email address of Signed-off-by line is typo? -- OGAWA Hirofumi