From: Timo Sirainen Date: Mon, 22 Nov 2021 16:23:28 +0000 (+0100) Subject: lib: Grow initial event pool size to 1024 bytes X-Git-Tag: 2.3.18~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2ea3df64fb6d59dc466a14c3960da0e214bdc2d;p=thirdparty%2Fdovecot%2Fcore.git lib: Grow initial event pool size to 1024 bytes The old 64 bytes size wasn't enough to allocate even the struct event itself. --- diff --git a/src/lib/lib-event.c b/src/lib/lib-event.c index b39983ceaf..e0ee79d5cf 100644 --- a/src/lib/lib-event.c +++ b/src/lib/lib-event.c @@ -391,7 +391,7 @@ event_create_internal(struct event *parent, const char *source_filename, unsigned int source_linenum) { struct event *event; - pool_t pool = pool_alloconly_create(MEMPOOL_GROWING"event", 64); + pool_t pool = pool_alloconly_create(MEMPOOL_GROWING"event", 1024); event = p_new(pool, struct event, 1); event->event_passthrough = event_passthrough_vfuncs;