aboutsummaryrefslogtreecommitdiffstats
path: root/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-06-19 18:55:56 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-06-19 18:55:56 +0400
commitdaca72b007e666fb9abebcfa7c27ed6ddcadfd58 (patch)
treeed9ce40de8c2aead8d2d542651600914a3969de7 /cfg_utils.c
parente92bfae6a160b187f47092074c7f49989f71950d (diff)
downloadrspamd-daca72b007e666fb9abebcfa7c27ed6ddcadfd58.tar.gz
rspamd-daca72b007e666fb9abebcfa7c27ed6ddcadfd58.zip
* Rewrite memcached library to work with events (async model)
* Add simple test for new memcached library * Use glib variants of malloc and free functions in rspamd
Diffstat (limited to 'cfg_utils.c')
-rw-r--r--cfg_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cfg_utils.c b/cfg_utils.c
index d682310b0..277a8d8e6 100644
--- a/cfg_utils.c
+++ b/cfg_utils.c
@@ -129,13 +129,13 @@ void
free_config (struct config_file *cfg)
{
if (cfg->pid_file) {
- free (cfg->pid_file);
+ g_free (cfg->pid_file);
}
if (cfg->temp_dir) {
- free (cfg->temp_dir);
+ g_free (cfg->temp_dir);
}
if (cfg->bind_host) {
- free (cfg->bind_host);
+ g_free (cfg->bind_host);
}
}