Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B030C433F5 for ; Thu, 9 Dec 2021 12:41:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237488AbhLIMop (ORCPT ); Thu, 9 Dec 2021 07:44:45 -0500 Received: from mail-m974.mail.163.com ([123.126.97.4]:46840 "EHLO mail-m974.mail.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbhLIMoo (ORCPT ); Thu, 9 Dec 2021 07:44:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=VlLxX xIBjKmKOXhxHcJX/xpUu5HLMFirH1D3GYwu9L0=; b=Jh51xSlBvEYdU3UjBqPMR JDs9Fn7hTqqJRi6iwh9fWAqP5WDeZ7mvy2AwstfZjn+TTilCA/sIU0TdEZztAbHW ajHisDYK+3SUOUUnoPDBnCZqSfVd31OCl06k0HjKKZ4erWIiKEsPBUYAXczg0HfU Ym8qUR1QGdqet3fLoL3XuI= Received: from localhost.localdomain (unknown [218.106.182.227]) by smtp4 (Coremail) with SMTP id HNxpCgAHBhMq+bFhVkxTAw--.8414S4; Thu, 09 Dec 2021 20:40:30 +0800 (CST) From: Jianglei Nie To: quwenruo.btrfs@gmx.com Cc: clm@fb.com, dsterba@suse.com, josef@toxicpanda.com, linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org, niejianglei2021@163.com Subject: [PATCH] btrfs: Fix memory leak in __add_inode_ref() Date: Thu, 9 Dec 2021 20:40:07 +0800 Message-Id: <20211209124007.7210-1-niejianglei2021@163.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <9d299505-a334-b988-2fcd-bc2129207959@gmx.com> References: <9d299505-a334-b988-2fcd-bc2129207959@gmx.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: HNxpCgAHBhMq+bFhVkxTAw--.8414S4 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxU3iSdDUUUU X-Originating-IP: [218.106.182.227] X-CM-SenderInfo: xqlhyxxdqjzvrlsqjii6rwjhhfrp/xtbBOR5kjF-PKSDp6QAAsW Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I did a static analysis for the Linux kernel using the clang checker