summaryrefslogtreecommitdiff
path: root/conf/cf-lex.l
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-11-01 08:56:26 +0100
committerMaria Matejka <mq@ucw.cz>2022-11-01 16:38:24 +0100
commit37b644413723670928f6b54f2abe0c852eb0b652 (patch)
treed8e8023f23803d0117cf02f7ea1922d5d8e5f531 /conf/cf-lex.l
parent5aebce5e0cc59c4c8459ab92a201df5868f46e7a (diff)
Moved config-related allocations to config_pool and showing its size in memory usage
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r--conf/cf-lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 28d9ba50..ceedee8a 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -717,7 +717,7 @@ cf_lex_symbol(const char *data)
static void
cf_lex_init_kh(void)
{
- HASH_INIT(kw_hash, &root_pool, KW_ORDER);
+ HASH_INIT(kw_hash, config_pool, KW_ORDER);
struct keyword *k;
for (k=keyword_list; k->name; k++)