aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/statefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/config/statefile.c')
-rw-r--r--src/app/config/statefile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c
index a44bcf6fb5..93e35659df 100644
--- a/src/app/config/statefile.c
+++ b/src/app/config/statefile.c
@@ -183,6 +183,7 @@ get_state_mgr(void)
{
if (PREDICT_UNLIKELY(state_mgr == NULL)) {
state_mgr = config_mgr_new(&state_format);
+ config_mgr_freeze(state_mgr);
}
return state_mgr;
}