Skip to content

Commit c788371

Browse files
committed
Fixed memory leak in create_single_port_ram_block function in netlist_create_from_ast.cpp
1 parent 53d2620 commit c788371

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
@@ -5514,6 +5514,8 @@ signal_list_t *create_single_port_ram_block(ast_node_t* block, char *instance_na
55145514
free_signal_list(in_list[i]);
55155515
}
55165516

5517+
vtr::free(in_list);
5518+
55175519
sp_memory_list = insert_in_vptr_list(sp_memory_list, block_node);
55185520
block_node->type = MEMORY;
55195521
block->net_node = block_node;

0 commit comments

Comments
 (0)