Skip to content

Commit 99cb227

Browse files
author
Zack Deveau
committed
Removed some free's that caused microbenchmark failures
1 parent cc01c07 commit 99cb227

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ODIN_II/SRC/netlist_create_from_ast.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,7 +1366,6 @@ nnet_t* define_nets_with_driver(ast_node_t* var_declare, char *instance_name_pre
13661366
/* store the data which is an idx here */
13671367
output_nets_sc->data[sc_spot] = (void*)new_net;
13681368
new_net->name = temp_string;
1369-
free(temp_string);
13701369

13711370
/* Assign initial value to this net if it exists */
13721371
if(var_declare->types.variable.is_initialized){
@@ -2969,7 +2968,6 @@ signal_list_t *assignment_alias(ast_node_t* assignment, char *instance_name_pref
29692968
add_pin_to_signal_list(we, get_one_pin(verilog_netlist));
29702969
add_input_port_to_implicit_memory(left_memory, we, "we2");
29712970

2972-
free(in_1);
29732971
in_1 = init_signal_list();
29742972
char *name = left->children[0]->types.identifier;
29752973
int i;

0 commit comments

Comments
 (0)