diff options
-rw-r--r-- | src/ghdldrv/ghdlcomp.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlcomp.adb b/src/ghdldrv/ghdlcomp.adb index cf7b8148c..d5d77360e 100644 --- a/src/ghdldrv/ghdlcomp.adb +++ b/src/ghdldrv/ghdlcomp.adb @@ -234,6 +234,7 @@ package body Ghdlcomp is Libraries.Add_Design_Unit_Into_Library (Design); Design := Next_Design; end loop; + Free_Iir (Res); end Compile_Load_Vhdl_File; function Compile_Analyze_File (File : String) return Iir |