public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Paul Iannetta <piannetta@kalrayinc.com>
To: binutils@sourceware.org
Cc: Paul Iannetta <piannetta@kalrayinc.com>
Subject: [PATCH 3/7] kvx: gas: fix leak
Date: Fri, 16 Feb 2024 17:42:17 +0100	[thread overview]
Message-ID: <20240216164221.24165-4-piannetta@kalrayinc.com> (raw)
In-Reply-To: <20240216164221.24165-1-piannetta@kalrayinc.com>

gas/ChangeLog:

	* config/tc-kvx.c (md_apply_fix): Free memory at this end.
---
 gas/config/tc-kvx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gas/config/tc-kvx.c b/gas/config/tc-kvx.c
index cfd9c682982..b864b95721f 100644
--- a/gas/config/tc-kvx.c
+++ b/gas/config/tc-kvx.c
@@ -1825,6 +1825,7 @@ md_apply_fix (fixS * fixP, valueT * valueP, segT segmentP ATTRIBUTE_UNUSED)
 		    fixP->fx_r_type);
 	}
     }
+  xfree (rel);
 }
 
 /*
-- 
2.35.1.500.gb896f729e2






  parent reply	other threads:[~2024-02-16 16:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 16:42 [PATCH 0/7] kvx: Miscellaneous changes since last August Paul Iannetta
2024-02-16 16:42 ` [PATCH 1/7] kvx: gas: fix the detection of negative powers of 2 Paul Iannetta
2024-02-16 16:42 ` [PATCH 2/7] kvx: Improve lexing & parsing Paul Iannetta
2024-02-16 16:42 ` Paul Iannetta [this message]
2024-02-16 16:42 ` [PATCH 4/7] kvx: gas: move the splat modifier to the immediate Paul Iannetta
2024-02-16 16:42 ` [PATCH 5/7] kvx: gas: rename: or -> ior, xor -> eor Paul Iannetta
2024-02-16 16:42 ` [PATCH 6/7] kvx: enable magic immediates for integer multiply-accumulate and CMOVE* Paul Iannetta
2024-02-16 16:42 ` [PATCH 7/7] kvx: gas: missing aliases for $r14r15 in assembler Paul Iannetta
2024-02-19 11:35 ` [PATCH 0/7] kvx: Miscellaneous changes since last August Nick Clifton
2024-02-20 11:03   ` Paul Iannetta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240216164221.24165-4-piannetta@kalrayinc.com \
    --to=piannetta@kalrayinc.com \
    --cc=binutils@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).