diff options
author | Maria Matejka <mq@ucw.cz> | 2022-11-01 08:56:26 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-11-01 16:38:24 +0100 |
commit | 37b644413723670928f6b54f2abe0c852eb0b652 (patch) | |
tree | d8e8023f23803d0117cf02f7ea1922d5d8e5f531 /conf/cf-lex.l | |
parent | 5aebce5e0cc59c4c8459ab92a201df5868f46e7a (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.l | 2 |
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++) |