diff --git a/src/suricata.c b/src/suricata.c index 8e2c00a03a..42adee2dac 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -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 * the GNU General Public License version 2 as published by the Free @@ -320,6 +320,7 @@ void GlobalsInitPreConfig(void) TimeInit(); SupportFastPatternForSigMatchTypes(); SCThresholdConfGlobalInit(); + SCProtoNameInit(); } static void GlobalsDestroy(SCInstance *suri) @@ -346,6 +347,7 @@ static void GlobalsDestroy(SCInstance *suri) LiveDeviceListClean(); OutputDeregisterAll(); FeatureTrackingRelease(); + SCProtoNameRelease(); TimeDeinit(); if (!suri->disabled_detect) { SCReferenceConfDeinit();