summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingold2009-12-16 04:39:02 +0000
committergingold2009-12-16 04:39:02 +0000
commit19c2aaceb9610aee1de5197a92b87600e484bbde (patch)
treeee811f99e3ad9a9bdc68fb8c24f2ed3b2c8c184f
parent687eab944bacf7355d113e99551f4835d96db184 (diff)
downloadghdl-19c2aaceb9610aee1de5197a92b87600e484bbde.tar.gz
ghdl-19c2aaceb9610aee1de5197a92b87600e484bbde.tar.bz2
ghdl-19c2aaceb9610aee1de5197a92b87600e484bbde.zip
FIx memory leak.
From Thomas Sailer.
-rw-r--r--translate/grt/grt-rtis_utils.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/translate/grt/grt-rtis_utils.adb b/translate/grt/grt-rtis_utils.adb
index 633af43..d01cea9 100644
--- a/translate/grt/grt-rtis_utils.adb
+++ b/translate/grt/grt-rtis_utils.adb
@@ -502,6 +502,7 @@ package body Grt.Rtis_Utils is
begin
Rtis_Utils.Get_Value (Name, Value, Type_Rti);
Put (Stream, Name);
+ Free (Name);
end Disp_Value;
procedure Get_Enum_Value