Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758644AbYG2Mzo (ORCPT ); Tue, 29 Jul 2008 08:55:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758212AbYG2Mzb (ORCPT ); Tue, 29 Jul 2008 08:55:31 -0400 Received: from mail.parknet.ad.jp ([210.171.162.6]:59920 "EHLO mail.officemail.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758176AbYG2Mz3 (ORCPT ); Tue, 29 Jul 2008 08:55:29 -0400 From: OGAWA Hirofumi To: "Darren Jenkins" Cc: kernel Janitors , LKML Subject: Re: [PATCH] fs/fat/dir.c fix resource leak In-Reply-To: <1217289813.9367.9.camel@localhost.localdomain> (darrenrjenkins@gmail.com's message of "Tue, 29 Jul 2008 10:03:33 +1000") References: <1217289813.9367.9.camel@localhost.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Date: Tue, 29 Jul 2008 21:55:25 +0900 Message-ID: <87hca8alz6.fsf@devron.myhome.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Anti-Virus: Kaspersky Anti-Virus for MailServers 5.5.10/RELEASE, bases: 24052007 #308098, status: clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 702 Lines: 20 "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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/