]> source.dussan.org Git - rspamd.git/commitdiff
Fix double allocation of fuzzy backend structure.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 1 Apr 2015 09:52:15 +0000 (10:52 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 1 Apr 2015 09:52:15 +0000 (10:52 +0100)
src/libserver/fuzzy_backend.c

index 45a6aea304f4076cb5928f3b1bb105b1ff002141..7ebb9c69b47ca4d81ec1988c866ab7f275665ef5 100644 (file)
@@ -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;