Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754468AbYCLPLX (ORCPT ); Wed, 12 Mar 2008 11:11:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751778AbYCLPLJ (ORCPT ); Wed, 12 Mar 2008 11:11:09 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:49319 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751739AbYCLPLH (ORCPT ); Wed, 12 Mar 2008 11:11:07 -0400 Date: Wed, 12 Mar 2008 11:11:06 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Boaz Harrosh cc: James Bottomley , Matthew Dharm , Sven Schnelle , , linux-scsi , FUJITA Tomonori , Andrew Morton Subject: Re: [PATCH] isd200: Fix memory leak in isd200_get_inquiry_data In-Reply-To: <47D7E0D1.8050403@panasas.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 25 On Wed, 12 Mar 2008, Boaz Harrosh wrote: > rrr only I cannot do that because the destructor does not have access to the us_data > that contains it. As I said, very ugly. New patch attached. > > Boaz > --- > From: Boaz Harrosh > Date: Tue, 11 Mar 2008 20:30:53 +0200 > Subject: [PATCH] isd200: Fix memory leak in isd200_get_inquiry_data > > if the inquiry fails then the info structure on > us->extra was not freed. > > Signed-off-by: Boaz Harrosh Acked-by: Alan Stern Alan Stern -- 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/