aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorPaul Iannetta <piannetta@kalrayinc.com>2023-09-10 21:45:00 +0200
committerPaul Iannetta <piannetta@kalrayinc.com>2024-02-20 12:07:57 +0100
commit3bf43af5f7a79d606d8a7f93182e0f7aa0ef7c6c (patch)
tree4a14ca3fbd161a837fe97168460e17c9b2f46b5d /gas
parent512707c2e2f5b18e029b2dbdf5438338bda22ea9 (diff)
downloadgdb-3bf43af5f7a79d606d8a7f93182e0f7aa0ef7c6c.zip
gdb-3bf43af5f7a79d606d8a7f93182e0f7aa0ef7c6c.tar.gz
gdb-3bf43af5f7a79d606d8a7f93182e0f7aa0ef7c6c.tar.bz2
kvx: gas: fix leak
gas/ChangeLog: * config/tc-kvx.c (md_apply_fix): Free memory at this end.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-kvx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-kvx.c b/gas/config/tc-kvx.c
index cfd9c68..b864b95 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);
}
/*