From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6B32D45C22; Fri, 1 Nov 2024 02:27:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F33843283; Fri, 1 Nov 2024 02:27:36 +0100 (CET) Received: from m16.mail.163.com (m16.mail.163.com [117.135.210.3]) by mails.dpdk.org (Postfix) with ESMTP id C7EFA40265 for ; Fri, 1 Nov 2024 02:27:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=aKRs8O19hztavQsEhC VWOAULtC4x77BSMiLr2LN4ItE=; b=YzqQREKg6NBLKcJWKHoAeGRJI7nekamjv1 5syvIIfXV2SC+Waah1ypxajDu0K6s3JyAZHzMr4JkpN3PTTkyo2EVM9NjJNrYFym ldl/3LjOp+PIlAWtkZmfiaAfaevr4xzuWwO+EjQChrZvMdXaBcstZx5pwts6Ecx6 C3C06QF3s= Received: from localhost.localdomain.localdomain (unknown [124.127.58.139]) by gzga-smtp-mtada-g1-1 (Coremail) with SMTP id _____wD3_5x+LiRndqShAA--.18906S2; Fri, 01 Nov 2024 09:27:30 +0800 (CST) From: Huichao cai To: pbhagavatula@marvell.com Cc: dev@dpdk.org, jerinj@marvell.com, kirankumark@marvell.com, ndabilpuram@marvell.com, yanzhirun_163@163.com Subject: Re: [PATCH] graph: fix memory leak in node clone Date: Fri, 1 Nov 2024 09:27:22 +0800 Message-Id: <1730424442-1893-1-git-send-email-chcchc88@163.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <20241030121247.1400-1-pbhagavatula@marvell.com> References: <20241030121247.1400-1-pbhagavatula@marvell.com> X-CM-TRANSID: _____wD3_5x+LiRndqShAA--.18906S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxU5ID2UUUUU X-Originating-IP: [124.127.58.139] X-CM-SenderInfo: pfkfuxrfyyqiywtou0bp/1tbiMRGKF2ckLE872AAAs+ X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org There is one more place in the node_clone function that needs to be modified: if (clone_name(reg->name, node->name, name)) //goto free; goto free_xstat;