aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/vhdl-utils.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vhdl/vhdl-utils.adb b/src/vhdl/vhdl-utils.adb
index 2a60e82e7..dde3aad0c 100644
--- a/src/vhdl/vhdl-utils.adb
+++ b/src/vhdl/vhdl-utils.adb
@@ -946,7 +946,7 @@ package body Vhdl.Utils is
Free_Recursive_Flist (Get_Index_List (N));
Free_Recursive (Get_Base_Type (N));
when Iir_Kind_Entity_Aspect_Entity =>
- Free_Recursive (Get_Entity (N));
+ Free_Recursive (Get_Entity_Name (N));
Free_Recursive (Get_Architecture (N));
when others =>
Error_Kind ("free_recursive", Node);