From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:48322 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751991AbdJKMwB (ORCPT ); Wed, 11 Oct 2017 08:52:01 -0400 Date: Wed, 11 Oct 2017 14:52:09 +0200 From: Greg KH To: Johan Hovold Cc: linux-usb@vger.kernel.org, stable Subject: Re: [PATCH 2/5] USB: serial: garmin_gps: fix memory leak on probe errors Message-ID: <20171011125209.GB27734@kroah.com> References: <20171011120301.25673-1-johan@kernel.org> <20171011120301.25673-3-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171011120301.25673-3-johan@kernel.org> Sender: stable-owner@vger.kernel.org List-ID: On Wed, Oct 11, 2017 at 02:02:58PM +0200, Johan Hovold wrote: > Make sure to free the port private data before returning after a failed > probe attempt. > > Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") > Cc: stable > Signed-off-by: Johan Hovold Reviewed-by: Greg Kroah-Hartman