From: Alan Modra Date: Mon, 1 Sep 2025 07:34:43 +0000 (+0930) Subject: csky disassembler leak X-Git-Tag: gdb-17-branchpoint~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77ec362369e193869c5a7775febb186ef72436af;p=thirdparty%2Fbinutils-gdb.git csky disassembler leak * csky-dis.c (parse_csky_dis_options): Free copy of options. --- diff --git a/opcodes/csky-dis.c b/opcodes/csky-dis.c index e3a0a460be3..01e21160752 100644 --- a/opcodes/csky-dis.c +++ b/opcodes/csky-dis.c @@ -281,6 +281,7 @@ parse_csky_dis_options (const char *opts_in) fprintf (stderr, "unrecognized disassembler option: %s", opt); } + free (opts); } /* Get general register name. */