From b2b9cfa6161a98d5d4d074573f99fdac6cb24556 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 28 Oct 2017 15:14:33 +0100 Subject: [Minor] Further portion of g_slice elimination --- src/libutil/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libutil/logger.c') diff --git a/src/libutil/logger.c b/src/libutil/logger.c index de301cc62..7bfd85183 100644 --- a/src/libutil/logger.c +++ b/src/libutil/logger.c @@ -371,7 +371,7 @@ rspamd_set_logger (struct rspamd_config *cfg, rspamd_logger_t *logger; if (plogger == NULL || *plogger == NULL) { - logger = g_slice_alloc0 (sizeof (rspamd_logger_t)); + logger = g_malloc0 (sizeof (rspamd_logger_t)); if (cfg->log_error_elts > 0 && pool) { logger->errlog = rspamd_mempool_alloc0_shared (pool, -- cgit v1.2.3