From: Alan Modra Date: Tue, 14 Jan 2025 10:38:09 +0000 (+1030) Subject: gas ppc .machine leak X-Git-Tag: binutils-2_44~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b413284b8fb5dc986b3998d68a41a6675205dae1;p=thirdparty%2Fbinutils-gdb.git gas ppc .machine leak * config/tc-ppc.c (ppc_machine): Free cpu_string. --- diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index f9614035748..4e0bf24f365 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -5939,6 +5939,7 @@ ppc_machine (int ignore ATTRIBUTE_UNUSED) if (ppc_cpu != old_cpu) ppc_setup_opcodes (); } + free (cpu_string); demand_empty_rest_of_line (); }