Message ID | 20240417202018.34966-20-nick.alcock@oracle.com |
---|---|
State | New |
Headers |
Return-Path: <binutils-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 12C433870C1F for <patchwork@sourceware.org>; Wed, 17 Apr 2024 20:27:23 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id E86FA3858C53 for <binutils@sourceware.org>; Wed, 17 Apr 2024 20:21:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E86FA3858C53 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E86FA3858C53 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.165.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713385310; cv=pass; b=WcO6a004yqiSizJAjj/1IQdxbAtsoRMYJPS/a7TR09Dq3nWWTx99nh5F6SprtVXB42zhQx1IWkyU9poNTPValMCW94Q/Xzhk8YmBtqbP8qRLEYr/KfOnCWVqdUuorj0+/QY/jLmWJ6ovGHfT9OV438IOg3UcezFd/8BBKPsWJPs= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1713385310; c=relaxed/simple; bh=xunyJssMxd5HzsxB4JgwKbs5BT8SiazBMY6ySoXzap8=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=ZQtfRf6UFhQZLgFkTC8n8iCWYvokdU9fqkmEFu77Sn/QH7CrgVACa10/QOBj35Im1dJQhyLlk/UA730Xid0m0L6Q9Sj/YN2FNwvKMxlbKQbkx+bECM4IIkdX20pzl2sfyIJ0xds9P6KAtOyLqMeMLzknaPYkoSpkCaC6/G4zEv4= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43HHiTZG019541 for <binutils@sourceware.org>; Wed, 17 Apr 2024 20:21:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2023-11-20; bh=oXhPz/+s4BBV5+E/QmKiO+aazvPY7kgAfgW5sviF54M=; b=WOYTXusjrgJrkGWxXhiWdksKdJFAq326UqrKntNxHBQnFgMU1novShfgFOJVmHkvAvsR fWWCtsYNxyrkclzihLBeol+TrKMx1s4oAvdSfLHXDh/Nd4v794+RLBtfioA/knxZPLwF A5t6KpeN8bbS0EcVNhHxdvcoaUL6Y/IZLfhaAL7606LTqz5n21/WZYrkKuiYpGsasuUb LYHcxopkSFUkOkaD2c4l9RerFC4TsEHwagcUtCIZVCbgwNkp//YFVWmhTZQ3QF9DGuw4 puGNIzCcE8siYLdZr0Q7d+IkZmcIvjPhh8yS4WQtA0yG3THiXkejBEheiw2CKYwR/N+x iA== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3xfjkv8t9j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 17 Apr 2024 20:21:46 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 43HIpI2W014310 for <binutils@sourceware.org>; Wed, 17 Apr 2024 20:21:45 GMT Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2169.outbound.protection.outlook.com [104.47.56.169]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3xfggfnfem-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 17 Apr 2024 20:21:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pmo0r9IWlH+DJ56hUmsGSVflV96PgdavbGJUWFzDxnXcSX37PyYg0jQe0BMpE45DZo0iTWVuU6qyCAXDK/SzLA8xr0aGb722ubyP5SwXLdUPRVUAv+mqmPDPbR6q3lH+5wq6RPKFh/qhFyiQgwxtupLVbppyFQKzb0pLdCCOxxEZ2SLB+lK1g+yF201bPjV0MyU5Q7MVV1Or7cWBW4ghd6uTwEeq5WD5kMt111OicT+ENg6B9cUi1R4S5jgIjQGU2fPz9oZIlrXqTUxSAXWVOZsVpg05/rulN/TSAt00oPMZwdQ6XjTWvYqIVjeCRIZUmI+Rhi15FuWGAO/dux22JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=oXhPz/+s4BBV5+E/QmKiO+aazvPY7kgAfgW5sviF54M=; b=fQiW7zecXnPgMoNX/IBfFB1GwtIIqk5IlmroVakqr+zh3pwhGT6YHnWZWmxuX/5P59tkWzzz5WeP8tT3RbbyUPEWHb/fnzocy8bO+AexQ3YPvPH14fawqyPS4fnH3uVQ1FArcYgCPoSx0Csa34TitSH9Kze9p7R6qDvtjIbd7IlSr5uNGfcKaMo2l2y9pDlCvw/uKeTOBybcX2LrfwY4Wc63jwPrl08BCghtjz5wR8nmfLUdoyKFDbYLp+k10E5Qt61Zvoc1SpoTk6Kthy7GxgOVu0wlwb15Hy8JzF5NIvUTxxfd+QFdvuTGNwZ/mkoRkO0eZUfNIsgQGWrLymDJlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=oXhPz/+s4BBV5+E/QmKiO+aazvPY7kgAfgW5sviF54M=; b=i/BEpeEDNyB7lNFvMYvVY35/vfnB8BTgnS8OhU01pzbVKGXXCDoUqILikWpZWhI5BeHJS3/QNBkPijpFZ5s5KUkZ4k58Bb1Qf9iYd0yLmu15sRQvgIFhIsE+dAMFf2w9WBUeSaKwhoto4NcNDHHz70t75psT/FxIMrXPet0zoZk= Received: from MW4PR10MB6608.namprd10.prod.outlook.com (2603:10b6:303:22e::8) by MW4PR10MB6678.namprd10.prod.outlook.com (2603:10b6:303:22c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Wed, 17 Apr 2024 20:21:41 +0000 Received: from MW4PR10MB6608.namprd10.prod.outlook.com ([fe80::67a4:9544:7249:7751]) by MW4PR10MB6608.namprd10.prod.outlook.com ([fe80::67a4:9544:7249:7751%7]) with mapi id 15.20.7472.037; Wed, 17 Apr 2024 20:21:41 +0000 From: Nick Alcock <nick.alcock@oracle.com> To: binutils@sourceware.org Subject: [PATCH 19/22] libctf: fix leak in test Date: Wed, 17 Apr 2024 21:20:15 +0100 Message-ID: <20240417202018.34966-20-nick.alcock@oracle.com> X-Mailer: git-send-email 2.44.0.273.ge0bd14271f In-Reply-To: <20240417202018.34966-1-nick.alcock@oracle.com> References: <20240417202018.34966-1-nick.alcock@oracle.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0407.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::16) To MW4PR10MB6608.namprd10.prod.outlook.com (2603:10b6:303:22e::8) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR10MB6608:EE_|MW4PR10MB6678:EE_ X-MS-Office365-Filtering-Correlation-Id: 76d141d3-8bc3-4674-63e0-08dc5f1bfdca X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xD1pyGcynj2Z5Orqu6DkZY1EEklbPljRn+5j8mDM97TK08MNWFR6vdOVx3OJUa5SAu57Zqq7cbbPSQ6q5HI8RQBxr59w8eDxD9ZZIBDPCewFt3muGtJYWNkYqu9v7RH+5lecanZrDWkv1BXAhltiIf96PojH6LSkY5jvvmTDk8/Jfdtu5DDwTzvvfpRv5qEoX2okEL0NXLJqVSQzr/fKCDvRtAMFpUcUPTR1pX+SIff0Ium8GSarys/11yn88mtH9SjEzDdpEIup3ehyz4dGqJkIb22xcr3cqhtO9zQvM/D678EeYJIkFA2wQ+yDNB7dwUcQnwLfXi1KHwF5EZf1PLWi9+RLPMF6898pkaHi4Jans1ix4WZOCD3BGHqFeAQfmb9LV8GrHHACw7S1Vg1zdK8/TbKnzW3m4ADPMqdH0votCAR9Elr9zLjvEwyj6/IJ3uPOjLx0FW4mFeBcaC8WQOgea5tYXGKhxls/ycXjcXYiNnrAgxBjXNb4eLbzWds5Scb619X6rRGwtkjx9V7HsWvqBTXyVj86FOtKMxrqjxFYbpmqaLwrZLLtInorLRdwR1Qnth7Zn9YwXLx/tT0+BfC1Bg/4K6KzZjt9QcdObhOlFf+xH9u8AnlXDeiSK6JAAw5q8U7/jsGravr7CDcSVcbYHNQvpbwyqdiPmoB+9wQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR10MB6608.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: NzCYTSdcuXffaqEP8G809YXROkGfQ6vmVlZ79UodHHKGfSSPSyboYxkJZarMiqghyxzm32/6xopnzgbnp6wFS/wH8xbPkN/Ol8sYYFyEXE7BimIHcNj4HTWpfC3iqnB1CuvZtKl+BISk9R3uSA9Q26Je+MKRlQs44sUYWXFaEPDrUPD2GvY4Om2BzmhVARBKZXjaxvKj/x74nlpIuhUA0knds0UL+8d+ZFydm4bkWJmUXTUSqY0C0WyJGLbYCR67vsqqTJQ4ybqW8yZCVRlsM5elDIFgSufFs9XOA8YtCUvOpQK0vpMS30HTc408FbyGXpl1I436djbNz1rHo/eKmZPZsV2O4aKCLIu9r4aPjTAvxRPgUAX3UOLegywXvKtzEHqr9FGyXAxXmao6ThTCyFCTyH8xOi4syCsREVE178G93WYFeugbb9ItqP9NAOVnG6KzEN4ZDAsGe75nhVrmZSA7VdYLteC4vFDDPK+sdwVPBfaJO5KcCnjXb184vFq6NH8n8j5J83SFLECjb3T0pFnBDz4grON/yTytyD1Q1rC9dkGnB1stRpMsqFbbKqBZ5YX/xE/DgllwZ6mjgmpITJ/dqpk5MPPjBFz/4bU0TJYQ8Ce04r+KkKp9WuaktgcNv7iGo9Au1ZTRnvQfa0tOwSw+endG6l7Y8kxmBuQRvU0WuIxleujTQbiCwwBMn/6NmLfb87pIVxofHHrZLUM5DlASEcpy8gv0tDrOjDfWmGSlySxjEue93hipMfT75zja98qbLxciTaXjQRtsVU60MNxM81tr+MYKg+pyNKU5KBjCdAMz8ymgkRjUywiDBxcB9HOrdyZmpSX/RXZ0GSs9wXeiBrnPRFM/8AZX4aXw41KMXoLLk6n9Ov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ncE3TV1ilOkwuwHZtpjMNywVVfG0k5r0KuwYUGyJ/yjQkVJOug1BkQD1Y3obcBjDtEmF4wo+xVXBBRO97OrFXiFZ7ZpS3T9JJmf8Y5i4R8EcKNTwcKJpz4ctOylVqng5RFayfeOzUJCXqQK48pxbBt0pF/4BLCfNNK+ODJbPJ7MD1GUVYzVqTBrdpZ3Vjm6Y5OCKjIWIosPoa2U0sa9fcTSQqN+ArmBF9cAeqRC6aDDlGkS0xC/IEEwxh0jSHyzg8oKKB9+raKFsNFll/Yk4PG3NGiKXL+6hxTjIShGCqP7G6yrb8wBbPRQ+HH4LTa9bQNIYiSiAzvP53kNdHFaDjp2qaw9NC+zJTORidH20eI= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 76d141d3-8bc3-4674-63e0-08dc5f1bfdca X-MS-Exchange-CrossTenant-AuthSource: MW4PR10MB6608.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Apr 2024 20:21:41.1180 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: pT9llEcYrhpP8bgxf3Vquvwp7hVR+zvkuH8vZyvrk+sUYaM1Iomk+a9Or9qgdz/CZyvNWJeOdraXwZBAJKpfFQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR10MB6678 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-17_17,2024-04-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=925 adultscore=0 phishscore=0 bulkscore=0 spamscore=0 malwarescore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404170143 X-Proofpoint-ORIG-GUID: ROH1JPE2LwYo3VdGZmBO4O5DCR3uZWkJ X-Proofpoint-GUID: ROH1JPE2LwYo3VdGZmBO4O5DCR3uZWkJ X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org |
Series |
more modifiable CTF dicts (and a few bugfixes)
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_binutils_build--master-arm | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 | success | Testing passed |
linaro-tcwg-bot/tcwg_binutils_check--master-arm | success | Testing passed |
Commit Message
Nick Alcock
April 17, 2024, 8:20 p.m. UTC
This purely serves to make it easier to interpret valgrind output. No functional effect. libctf/ * testsuite/libctf-lookup/conflicting-type-syms.c: Free everything. --- libctf/testsuite/libctf-lookup/conflicting-type-syms.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/libctf/testsuite/libctf-lookup/conflicting-type-syms.c b/libctf/testsuite/libctf-lookup/conflicting-type-syms.c index 239b8775964..e328fdf7728 100644 --- a/libctf/testsuite/libctf-lookup/conflicting-type-syms.c +++ b/libctf/testsuite/libctf-lookup/conflicting-type-syms.c @@ -27,18 +27,22 @@ main (int argc, char *argv[]) if ((a_fp = ctf_arc_lookup_symbol_name (ctf, "a", &a, &err)) == NULL) goto sym_err; printf ("Type of a is %s\n", foo = ctf_type_aname (a_fp, a)); + free (foo); if ((b_fp = ctf_arc_lookup_symbol_name (ctf, "b", &b, &err)) == NULL) goto sym_err; printf ("Type of b is %s\n", foo = ctf_type_aname (b_fp, b)); + free (foo); if ((ignore1_fp = ctf_arc_lookup_symbol_name (ctf, "ignore1", &ignore1, &err)) == NULL) goto sym_err; printf ("Type of ignore1 is %s\n", foo = ctf_type_aname (ignore1_fp, ignore1)); + free (foo); if ((ignore2_fp = ctf_arc_lookup_symbol_name (ctf, "ignore2", &ignore2, &err)) == NULL) goto sym_err; printf ("Type of ignore2 is %s\n", foo = ctf_type_aname (ignore2_fp, ignore1)); + free (foo); /* Try a call in just-get-the-dict mode and make sure it doesn't fail. */ if ((tmp_fp = ctf_arc_lookup_symbol_name (ctf, "ignore2", NULL, &err)) == NULL)