From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: [PATCH] rsi: fix memory leak in rsi_load_ta_instructions() Date: Wed, 24 Dec 2014 17:26:39 +0200 Message-ID: <87wq5h83ww.fsf@kamboji.qca.qualcomm.com> References: <1418420635-23869-1-git-send-email-khoroshilov@ispras.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "John W. Linville" , Fariya Fatima , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org To: Alexey Khoroshilov Return-path: Received: from smtp.codeaurora.org ([198.145.11.231]:53272 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750891AbaLXP0r (ORCPT ); Wed, 24 Dec 2014 10:26:47 -0500 In-Reply-To: <1418420635-23869-1-git-send-email-khoroshilov@ispras.ru> (Alexey Khoroshilov's message of "Sat, 13 Dec 2014 00:43:55 +0300") Sender: netdev-owner@vger.kernel.org List-ID: Alexey Khoroshilov writes: > Memory allocated by kmemdup() in rsi_load_ta_instructions() is leaked. > But duplication of firmware data here is useless, > so the patch removes kmemdup() at all. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Thanks, applied to wireless-drivers-next.git. -- Kalle Valo