summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-01 10:52:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-01 10:52:15 +0100
commit26339c8c2c0f9ab12c18d50219679fcf95a5e57d (patch)
tree0d729938907428f1df189539b37835dc4e621ed9 /src
parent002633d4ce032a7bfdde6baf4ce07ff213b8b861 (diff)
downloadrspamd-26339c8c2c0f9ab12c18d50219679fcf95a5e57d.tar.gz
rspamd-26339c8c2c0f9ab12c18d50219679fcf95a5e57d.zip
Fix double allocation of fuzzy backend structure.
Diffstat (limited to 'src')
-rw-r--r--src/libserver/fuzzy_backend.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libserver/fuzzy_backend.c b/src/libserver/fuzzy_backend.c
index 45a6aea30..7ebb9c69b 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;