Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kc2iG-0003dk-Aa for mharc-qemu-trivial@gnu.org; Mon, 09 Nov 2020 03:39:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46614) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc2iD-0003av-H1; Mon, 09 Nov 2020 03:39:41 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:2448) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc2iB-0004a8-8N; Mon, 09 Nov 2020 03:39:41 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CV4DC6MxlzLvsM; Mon, 9 Nov 2020 16:39:23 +0800 (CST) Received: from huawei.com (10.175.124.27) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Mon, 9 Nov 2020 16:39:25 +0800 From: Alex Chen To: , , CC: , , , , Subject: [PATCH v3 0/2] plugins: Fix some resource leaks Date: Mon, 9 Nov 2020 08:28:27 +0000 Message-ID: <20201109082829.87496-1-alex.chen@huawei.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.175.124.27] X-CFilter-Loop: Reflected Received-SPF: pass client-ip=45.249.212.191; envelope-from=alex.chen@huawei.com; helo=szxga05-in.huawei.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 03:39:34 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2020 08:39:41 -0000 There are 3 resource leaks in contrib/plugins/lockstep.c, fix it. v2->v3: - change the "From" line to "Alex Chen" v1->v2: - add the cover letter - modify the subject of the patch[2/2] Alex Chen (2): plugins: Fix resource leak in connect_socket() plugins: Fix two resource leaks in setup_socket() contrib/plugins/lockstep.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.19.1