From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Kleine-Budde Subject: Re: [PATCH] net: can: esd_usb2: fix memory leak on disconnect Date: Sat, 18 Oct 2014 18:48:07 +0200 Message-ID: <20141018164806.GA27828@pengutronix.de> References: <1412973067-29707-1-git-send-email-khoroshilov@ispras.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Matthias Fuchs , Wolfgang Grandegger , linux-can@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org To: Alexey Khoroshilov Return-path: Content-Disposition: inline In-Reply-To: <1412973067-29707-1-git-send-email-khoroshilov@ispras.ru> Sender: linux-can-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Sat, Oct 11, 2014 at 12:31:07AM +0400, Alexey Khoroshilov wrote: > It seems struct esd_usb2 dev is not deallocated on disconnect. > > The patch adds the deallocation. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied to the can tree. Thanks, Marc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |