From patchwork Fri Jun 4 23:25:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grazvydas Ignotas X-Patchwork-Id: 104353 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o54NPxjP008975 for ; Fri, 4 Jun 2010 23:25:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757464Ab0FDXZ4 (ORCPT ); Fri, 4 Jun 2010 19:25:56 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:52197 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755209Ab0FDXZ4 (ORCPT ); Fri, 4 Jun 2010 19:25:56 -0400 Received: by wyi11 with SMTP id 11so1242469wyi.19 for ; Fri, 04 Jun 2010 16:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=ybyO1Zl86EqzlHm7XaR0I7D+tWx9B8iUmcCtz0wO0jY=; b=GAW/lbV4+xwI2bteobWK6ypJpksCTBo1Dasty1m4WOW6eikPG4gqr2MJVKW6oHShDv dVFSGLOmESbJ2YIIUne2p9c9rg0/WU2+d4lSzEiXaS7+nwTuOQA6ea1mZt95UAwthD9B UigAIWju7/4LM54v9TFBwEBZcxJ9Gioa/nwBw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=g+AQC6EObMTwbN0saVsFlRiCIcGPOOHHEyrYBFJeCLO8BKN6ub3m88HbrflwET1yyU CujTnesHHXmIXr24yZaY8OU1MFlopGYD5G1+LX0m86KrCIo0ezYPU+fPPeze+Ylm/g4Y 4Vd1vwxg5VOi5ixmZod/tIsCrZB/82akgeSZU= Received: by 10.227.146.10 with SMTP id f10mr6525087wbv.212.1275693954521; Fri, 04 Jun 2010 16:25:54 -0700 (PDT) Received: from localhost.localdomain (ip-88-119-226-136.static.b4net.lt [88.119.226.136]) by mx.google.com with ESMTPS id z33sm13916746wbd.7.2010.06.04.16.25.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 04 Jun 2010 16:25:54 -0700 (PDT) From: Grazvydas Ignotas To: "John W. Linville" Cc: linux-wireless@vger.kernel.org, Kalle Valo , Grazvydas Ignotas Subject: [PATCH 1/2] wl1251: fix a memory leak in probe Date: Sat, 5 Jun 2010 02:25:47 +0300 Message-Id: <1275693948-3189-1-git-send-email-notasas@gmail.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 04 Jun 2010 23:25:59 +0000 (UTC) diff --git a/drivers/net/wireless/wl12xx/wl1251_sdio.c b/drivers/net/wireless/wl12xx/wl1251_sdio.c index d234285..c561332 100644 --- a/drivers/net/wireless/wl12xx/wl1251_sdio.c +++ b/drivers/net/wireless/wl12xx/wl1251_sdio.c @@ -259,6 +259,7 @@ disable: sdio_disable_func(func); release: sdio_release_host(func); + wl1251_free_hw(wl); return ret; }