runmode/unix-socket: don't lead http range memory

Init was per run, Deinit global, so Init overwrote memory if multiple
pcaps were processed.

Bug: #6046.
pull/8817/head
Victor Julien 2 years ago
parent 74d03c2b61
commit 2634e6b3f8

@ -367,7 +367,6 @@ static void GlobalsDestroy(SCInstance *suri)
AppLayerDeSetup();
DatasetsSave();
DatasetsDestroy();
HttpRangeContainersDestroy();
TagDestroyCtx();
LiveDeviceListClean();
@ -2301,6 +2300,7 @@ void PostRunDeinit(const int runmode, struct timeval *start_time)
HostCleanup();
StreamTcpFreeConfig(STREAM_VERBOSE);
DefragDestroy();
HttpRangeContainersDestroy();
TmqResetQueues();
#ifdef PROFILING

Loading…
Cancel
Save