[3/7] kvx: gas: fix leak

Message ID 20240216164221.24165-4-piannetta@kalrayinc.com
State New
Headers
Series kvx: Miscellaneous changes since last August |

Commit Message

Paul Iannetta Feb. 16, 2024, 4:42 p.m. UTC
  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(+)
  

Patch

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);
 }
 
 /*