From: Vsevolod Stakhov Date: Wed, 1 Apr 2015 09:52:15 +0000 (+0100) Subject: Fix double allocation of fuzzy backend structure. X-Git-Tag: 0.9.0~372 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26339c8c2c0f9ab12c18d50219679fcf95a5e57d;p=thirdparty%2Frspamd.git Fix double allocation of fuzzy backend structure. --- diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c index 45a6aea304..7ebb9c69b4 100644 --- a/src/libserver/fuzzy_backend.c +++ b/src/libserver/fuzzy_backend.c @@ -390,7 +390,6 @@ rspamd_fuzzy_backend_open_db (const gchar *path, GError **err) bk = g_slice_alloc (sizeof (*bk)); bk->path = g_strdup (path); - bk = g_slice_alloc (sizeof (*bk)); bk->db = sqlite; bk->expired = 0;