Memory leakage correction
This commit is contained in:
parent
56557b94e7
commit
8f21a3b177
|
@ -144,7 +144,8 @@ FILE* create_wireL_report_timing_tcl_file_handler(t_trpt_opts trpt_opts,
|
|||
}
|
||||
|
||||
descr = (char*)my_malloc(sizeof(char) * (strlen("Report Timing for L-")
|
||||
+ strlen(my_itoa(L_wire))
|
||||
+ strlen(my_itoa(L_wire)) + 1
|
||||
+ strlen(direction) + 1
|
||||
+ strlen(" wires") + 1));
|
||||
sprintf(descr, "Report Timing for L-%d %s wires", L_wire, direction);
|
||||
|
||||
|
|
Loading…
Reference in New Issue