Skip to content

Commit 789604f

Browse files
committed
Odin_II
1 parent 2c1a51e commit 789604f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ODIN_II/SRC/implicit_memory.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,5 +394,6 @@ void collapse_implicit_memory_to_single_port_ram(implicit_memory *memory)
394394
}
395395

396396
ast_node_t *ast_node = node->related_ast_node;
397+
vtr::free(ast_node->children[0]->types.identifier);
397398
ast_node->children[0]->types.identifier = vtr::strdup(SINGLE_PORT_RAM_string);
398399
}

0 commit comments

Comments
 (0)