aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librspamdclient.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-03 15:50:16 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2011-02-03 15:50:16 +0300
commit4f8ce164b2c8a8e86db5ca00a29086d91e11febe (patch)
treec1f277cebc36da76adaaf3117c1e37f3f4abd608 /lib/librspamdclient.c
parentd91bd23d16f2aff5150e6fc25229f20325bc9878 (diff)
downloadrspamd-4f8ce164b2c8a8e86db5ca00a29086d91e11febe.tar.gz
rspamd-4f8ce164b2c8a8e86db5ca00a29086d91e11febe.zip
Avoid double free in librspamdclient.
Diffstat (limited to 'lib/librspamdclient.c')
-rw-r--r--lib/librspamdclient.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/librspamdclient.c b/lib/librspamdclient.c
index 6c090c57a..53c3dcc0f 100644
--- a/lib/librspamdclient.c
+++ b/lib/librspamdclient.c
@@ -72,7 +72,6 @@ metric_free_func (gpointer arg)
struct rspamd_metric *m = arg;
g_hash_table_destroy (m->symbols);
- g_free (m->name);
g_free (m);
}
@@ -87,7 +86,6 @@ symbol_free_func (gpointer arg)
cur = g_list_next (cur);
}
g_list_free (s->options);
- g_free (s->name);
g_free (s);
}