Skip to content

Commit 849e708

Browse files
authored
Merge pull request #742 from j-b-1-7/odin_leak_array_name
ODIN_II leak fix array_name
2 parents 0306b9e + 81ceceb commit 849e708

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ODIN_II/SRC/netlist_create_from_ast.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6147,6 +6147,8 @@ void convert_multi_to_single_dimentional_array(ast_node_t *node, char *instance_
61476147
new_node_2 = resolve_node(local_string_cache_list, new_node_2, NULL, 0);
61486148
}
61496149

6150+
vtr::free(array_name);
6151+
61506152
node->children[1] = new_node_2;
61516153
node->children[2] = NULL;
61526154
node->num_children -= 1;

0 commit comments

Comments
 (0)