]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
kvx: gas: fix leak
authorPaul Iannetta <piannetta@kalrayinc.com>
Sun, 10 Sep 2023 19:45:00 +0000 (21:45 +0200)
committerPaul Iannetta <piannetta@kalrayinc.com>
Tue, 20 Feb 2024 11:07:57 +0000 (12:07 +0100)
gas/ChangeLog:

* config/tc-kvx.c (md_apply_fix): Free memory at this end.

gas/config/tc-kvx.c

index cfd9c682982124be8073fb08b349905412bde8cc..b864b95721fb3c82befbc926b790e153c3658dd0 100644 (file)
@@ -1825,6 +1825,7 @@ md_apply_fix (fixS * fixP, valueT * valueP, segT segmentP ATTRIBUTE_UNUSED)
                    fixP->fx_r_type);
        }
     }
+  xfree (rel);
 }
 
 /*