summaryrefslogtreecommitdiffstats
path: root/src/libutil/logger.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-28 15:14:33 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-28 15:14:33 +0100
commitb2b9cfa6161a98d5d4d074573f99fdac6cb24556 (patch)
tree7d531529f1798da141faeb17b0df1b47fc08896a /src/libutil/logger.c
parent4656f5525d110e3951672ad66a29cfb395f7d32f (diff)
downloadrspamd-b2b9cfa6161a98d5d4d074573f99fdac6cb24556.tar.gz
rspamd-b2b9cfa6161a98d5d4d074573f99fdac6cb24556.zip
[Minor] Further portion of g_slice elimination
Diffstat (limited to 'src/libutil/logger.c')
-rw-r--r--src/libutil/logger.c2
1 files changed, 1 insertions, 1 deletions
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,