Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3284925ybt; Mon, 29 Jun 2020 21:41:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyz+GdC0PAUAlLAmk+93d7nNXnsKUxwLIIqI6tSDOfPs7Eh/7Y4qZKyiCQLXg4vJ8FKBykQ X-Received: by 2002:aa7:d9c7:: with SMTP id v7mr16725237eds.36.1593492090704; Mon, 29 Jun 2020 21:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593492090; cv=none; d=google.com; s=arc-20160816; b=KHuh9qTBpfiHR8gQG3dGMbPX/QTBUpOCrCfvwQ6bnWDvDfn4eYgxry6ItFjCD9axbU fY41fj8xBGnD68Pc6Qa9R7nrTNjRs/nooq7rQgKA6CL2foZdyf1RS4eTHBNigIVzT2AP YOo/2zAav+EqXovUjM61H9K7yx3Zj+nNbtGOp0UM94xTrJhU93mUIalTzEiocwUPkz25 EE7Qljb2MUeOtEgfGaJB0ONXoiH1Mkviata6nn1qaibgw5tDv6ZXlYa5WK4Xudgx/3Yz lVqYIL7ONkWlKrB9C22LWwxPlb9DR/rqVhtAIo4KK7xpOFRhG2VpHG9m43xonR9gnikT 0+Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=77cQOpQ5AtB0qWOQGEEMr01KtYjsozyTdiVCSYv03Yw=; b=bc+zNwiQW4GoTK/5YXIRYquT7AzDzXXKtXKML6LD55sIZJ3I7BJwkwrcFHhyRLGUYs mN/7x9MYGr94ubbUpqeSUMvfWort3j9Hsl8jHm5kiP+dXJPLHa9Ll+LkV0U8oFNT8GeR YC4vKEl4/M0zWZhJuiz5v2bVcOYZYCyoWZMCJUousq7WqfSYhs1HDxOdU6ABBw3JzfSz O5eVWYR4Ja9MO/jqZPknz7cqqj8T+h5Q4V9Qew6yrzmGwoLNQyM115QtpAocmMOSlH93 b23xWyacI96WJhj4V8n43/1RJNfW7DVsYdauamq/DC0XIW3/H7Z9h3cP686i3VQETaMj ymIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=W3zTX7af; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si958585eds.213.2020.06.29.21.41.06; Mon, 29 Jun 2020 21:41:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=W3zTX7af; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728523AbgF3EiC (ORCPT + 99 others); Tue, 30 Jun 2020 00:38:02 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:18903 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726710AbgF3EiC (ORCPT ); Tue, 30 Jun 2020 00:38:02 -0400 X-UUID: 3eb3c89b4f1344fc8e37c960ea0ecaa4-20200630 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=77cQOpQ5AtB0qWOQGEEMr01KtYjsozyTdiVCSYv03Yw=; b=W3zTX7afVMhUj0OQdSRSdQpfwLKLafXWrVBUiIusxocnYF+foEhz29w4t7zoOHQhP84BOV5zJT60yv9SZuNXhX/CHfENUgD6RtlcFrz43N/V8m3ySV7v/AEaanVEsYa2iPKCkRK+M4LNbMDK7Zvy7ihn7Kv6g2RA6ooFvsN5gss=; X-UUID: 3eb3c89b4f1344fc8e37c960ea0ecaa4-20200630 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1743755523; Tue, 30 Jun 2020 12:37:58 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 30 Jun 2020 12:37:55 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 30 Jun 2020 12:37:57 +0800 From: To: , CC: , , , Subject: [PATCH 3/3] mt76: mt7615: fix potential memory leak in mcu message handler Date: Tue, 30 Jun 2020 12:37:51 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <5e8786d9cf0ccd09dd9c13c24c48ce441afbf0ff.1593491298.git.sean.wang@mediatek.com> References: <5e8786d9cf0ccd09dd9c13c24c48ce441afbf0ff.1593491298.git.sean.wang@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org RnJvbTogU2VhbiBXYW5nIDxzZWFuLndhbmdAbWVkaWF0ZWsuY29tPg0KDQpGaXggcG90ZW50aWFs IG1lbW9yeSBsZWFrIGluIG1jdSBtZXNzYWdlIGhhbmRsZXIgb24gZXJyb3IgY29uZGl0aW9uLg0K DQpGaXhlczogMGU2YTI5ZTQ3N2YzICgibXQ3NjogbXQ3NjE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