datasets: make DatasetsDestroy complete

so that fuzzing can run statelessly

Ticket: 3590
pull/16338/head
Philippe Antoine 1 month ago committed by Victor Julien
parent e63bbf57d8
commit 7afdcaa2d7

@ -780,6 +780,9 @@ void DatasetsDestroy(void)
set = next;
}
sets = NULL;
// these resets are useful for stateless fuzzing
dataset_used_hashsize = 0;
set_ids = 0;
DatasetUnlock();
SCLogDebug("destroying datasets done: %p", sets);
}

Loading…
Cancel
Save