Fix memory leak in vvp delay selection code.

The min/typ/max delay selection code had a memory leak.
This commit is contained in:
Cary R 2010-03-17 10:29:06 -07:00 committed by Stephen Williams
parent 2a463f00b3
commit 1a915005c4
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ void set_delay_selection(const char* sel)
vpi_mcd_printf(1, "Error: Unknown delay selection \"%s\"!", sel);
exit(1);
}
delete[] sel;
}
unsigned module_cnt = 0;