Fix crash reported by Brian Taylor. If "source" is used after
analysis, the circuit is both deleted and destroyed. Beware of double frees.
This commit is contained in:
parent
98333ee89a
commit
5197200fb3
|
|
@ -303,6 +303,7 @@ void Evt_purge_free_outputs(void)
|
|||
|
||||
for (i = 0; i < g_evt_num_udn_types; ++i) {
|
||||
output_event = g_evt_udn_info[i]->free_list;
|
||||
g_evt_udn_info[i]->free_list = NULL;
|
||||
while (output_event) {
|
||||
next = output_event->next;
|
||||
tfree(output_event->value);
|
||||
|
|
|
|||
Loading…
Reference in New Issue