Fix memory leak in vvp delay selection code.
The min/typ/max delay selection code had a memory leak.
This commit is contained in:
parent
2a463f00b3
commit
1a915005c4
|
|
@ -189,6 +189,7 @@ void set_delay_selection(const char* sel)
|
||||||
vpi_mcd_printf(1, "Error: Unknown delay selection \"%s\"!", sel);
|
vpi_mcd_printf(1, "Error: Unknown delay selection \"%s\"!", sel);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
delete[] sel;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned module_cnt = 0;
|
unsigned module_cnt = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue