From a2ea3df64fb6d59dc466a14c3960da0e214bdc2d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 22 Nov 2021 17:23:28 +0100 Subject: [PATCH] lib: Grow initial event pool size to 1024 bytes The old 64 bytes size wasn't enough to allocate even the struct event itself. --- src/lib/lib-event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3