|
|
|
@ -1,4 +1,4 @@
|
|
|
|
/* Copyright (C) 2007-2021 Open Information Security Foundation
|
|
|
|
/* Copyright (C) 2007-2022 Open Information Security Foundation
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
* You can copy, redistribute or modify this Program under the terms of
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
* the GNU General Public License version 2 as published by the Free
|
|
|
|
@ -375,6 +375,7 @@ void GlobalsInitPreConfig(void)
|
|
|
|
TimeInit();
|
|
|
|
TimeInit();
|
|
|
|
SupportFastPatternForSigMatchTypes();
|
|
|
|
SupportFastPatternForSigMatchTypes();
|
|
|
|
SCThresholdConfGlobalInit();
|
|
|
|
SCThresholdConfGlobalInit();
|
|
|
|
|
|
|
|
SCProtoNameInit();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static void GlobalsDestroy(SCInstance *suri)
|
|
|
|
static void GlobalsDestroy(SCInstance *suri)
|
|
|
|
@ -402,6 +403,7 @@ static void GlobalsDestroy(SCInstance *suri)
|
|
|
|
LiveDeviceListClean();
|
|
|
|
LiveDeviceListClean();
|
|
|
|
OutputDeregisterAll();
|
|
|
|
OutputDeregisterAll();
|
|
|
|
FeatureTrackingRelease();
|
|
|
|
FeatureTrackingRelease();
|
|
|
|
|
|
|
|
SCProtoNameRelease();
|
|
|
|
TimeDeinit();
|
|
|
|
TimeDeinit();
|
|
|
|
if (!suri->disabled_detect) {
|
|
|
|
if (!suri->disabled_detect) {
|
|
|
|
SCReferenceConfDeinit();
|
|
|
|
SCReferenceConfDeinit();
|
|
|
|
|