aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/confighelp.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-29 12:25:45 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-29 12:25:45 +0000
commit4beb2f2970d709169db316483a6bc547fdcaba8d (patch)
tree66c3f0e934b8eb4905e408356167bec326ebfa8e /src/rspamadm/confighelp.c
parenta47922458216ce76eb5c591096cb8d4bd41f03c3 (diff)
downloadrspamd-4beb2f2970d709169db316483a6bc547fdcaba8d.tar.gz
rspamd-4beb2f2970d709169db316483a6bc547fdcaba8d.zip
[Minor] Final stage of g_slice removal
Diffstat (limited to 'src/rspamadm/confighelp.c')
-rw-r--r--src/rspamadm/confighelp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/confighelp.c b/src/rspamadm/confighelp.c
index 26251937e..a64afe4b0 100644
--- a/src/rspamadm/confighelp.c
+++ b/src/rspamadm/confighelp.c
@@ -235,7 +235,7 @@ rspamadm_confighelp (gint argc, gchar **argv)
/* Init modules to get documentation strings */
for (pmod = cfg->compiled_modules; pmod != NULL && *pmod != NULL; pmod++) {
mod = *pmod;
- mod_ctx = g_slice_alloc0 (sizeof (struct module_ctx));
+ mod_ctx = g_malloc0 (sizeof (struct module_ctx));
if (mod->module_init_func (cfg, &mod_ctx) == 0) {
g_hash_table_insert (cfg->c_modules,