From 4f8ce164b2c8a8e86db5ca00a29086d91e11febe Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 3 Feb 2011 15:50:16 +0300 Subject: [PATCH] Avoid double free in librspamdclient. --- lib/librspamdclient.c | 2 -- 1 file changed, 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); } -- 2.39.5