git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852645b
)
router instance must be mutable
author
Jeremy Harris
<jgh146exb@wizmail.org>
Thu, 13 May 2021 20:59:25 +0000
(21:59 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sun, 27 Jun 2021 23:30:02 +0000
(
00:30
+0100)
src/src/readconf.c
patch
|
blob
|
history
diff --git
a/src/src/readconf.c
b/src/src/readconf.c
index 0ad206172d4baa661cf5cfbcb6e764e66a029983..a18cb8bbbf5cbfa40502de91356f2019710b54b2 100644
(file)
--- a/
src/src/readconf.c
+++ b/
src/src/readconf.c
@@
-3775,7
+3775,12
@@
while ((buffer = get_config_line()))
/* Set up a new driver instance data block on the chain, with
its default values installed. */
+ {
+ int old_pool = store_pool;
+ if (Ustrncmp(class, "router", 7) == 0) store_pool = POOL_PERM;
d = store_get(instance_size, FALSE);
+ store_pool = old_pool;
+ }
memcpy(d, instance_default, instance_size);
*p = d;
p = &d->next;