Skip to content

Commit 81ceceb

Browse files
committed
WIP: ODIN_II leak fix
1 parent e084da1 commit 81ceceb

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
@@ -6150,6 +6150,8 @@ void convert_multi_to_single_dimentional_array(ast_node_t *node, char *instance_
61506150
new_node_2 = resolve_node(local_string_cache_list, new_node_2, NULL, 0);
61516151
}
61526152

6153+
vtr::free(array_name);
6154+
61536155
node->children[1] = new_node_2;
61546156
node->children[2] = NULL;
61556157
node->num_children -= 1;

0 commit comments

Comments
 (0)