From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vdyp9-00083K-Is for ath10k@lists.infradead.org; Wed, 06 Nov 2013 08:50:54 +0000 From: Kalle Valo Subject: Re: [PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe() References: Date: Wed, 6 Nov 2013 10:50:19 +0200 In-Reply-To: (Wei Yongjun's message of "Wed, 30 Oct 2013 13:24:39 +0800") Message-ID: <87fvr9ud6c.fsf@kamboji.qca.qualcomm.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Wei Yongjun Cc: yongjun_wei@trendmicro.com.cn, linux-wireless@vger.kernel.org, linville@tuxdriver.com, ath10k@lists.infradead.org Wei Yongjun writes: > From: Wei Yongjun > > memory is malloced in ath10k_pci_probe() and should be freed before > leaving from the error handling cases, otherwise it will cause > memory leak. > > Signed-off-by: Wei Yongjun Thanks, applied. -- Kalle Valo _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from sabertooth02.qualcomm.com ([65.197.215.38]:49931 "EHLO sabertooth02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756166Ab3KFIuZ (ORCPT ); Wed, 6 Nov 2013 03:50:25 -0500 From: Kalle Valo To: Wei Yongjun CC: , , , Subject: Re: [PATCH -next] ath10k: fix possible memory leak in ath10k_pci_probe() References: Date: Wed, 6 Nov 2013 10:50:19 +0200 In-Reply-To: (Wei Yongjun's message of "Wed, 30 Oct 2013 13:24:39 +0800") Message-ID: <87fvr9ud6c.fsf@kamboji.qca.qualcomm.com> (sfid-20131106_095031_111177_3C2912E2) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: linux-wireless-owner@vger.kernel.org List-ID: Wei Yongjun writes: > From: Wei Yongjun > > memory is malloced in ath10k_pci_probe() and should be freed before > leaving from the error handling cases, otherwise it will cause > memory leak. > > Signed-off-by: Wei Yongjun Thanks, applied. -- Kalle Valo