summaryrefslogtreecommitdiffstats
path: root/src/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-27 11:21:40 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-27 11:21:40 +0100
commitc54eeafdd296585c1bd5100a58a36e3f32d03e78 (patch)
tree95db447670cca2e0bd81133f2a73d64183801678 /src/worker.c
parenta0d34edd00b42849901865e0a96b6a96f256bb80 (diff)
downloadrspamd-c54eeafdd296585c1bd5100a58a36e3f32d03e78.tar.gz
rspamd-c54eeafdd296585c1bd5100a58a36e3f32d03e78.zip
[Fix] Stop using of g_slice...
Diffstat (limited to 'src/worker.c')
-rw-r--r--src/worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c
index 717e5451b..e001ec288 100644
--- a/src/worker.c
+++ b/src/worker.c
@@ -468,7 +468,7 @@ rspamd_worker_log_pipe_handler (struct rspamd_main *rspamd_main,
rep.type = RSPAMD_CONTROL_LOG_PIPE;
if (attached_fd != -1) {
- lp = g_slice_alloc0 (sizeof (*lp));
+ lp = g_malloc0 (sizeof (*lp));
lp->fd = attached_fd;
lp->type = cmd->cmd.log_pipe.type;