diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-10 14:33:10 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-07-10 14:33:10 +0100 |
commit | 32700f14d269267ac9b70a2eb675ba04e4aa154f (patch) | |
tree | 6a1b84127cba6710821f4aaed4f8a839659f59e1 /src/libstat | |
parent | 39ebf65fa5605de25cb54460119c88ce0402db85 (diff) | |
download | rspamd-32700f14d269267ac9b70a2eb675ba04e4aa154f.tar.gz rspamd-32700f14d269267ac9b70a2eb675ba04e4aa154f.zip |
More fixes to sqlite3 locking.
Diffstat (limited to 'src/libstat')
-rw-r--r-- | src/libstat/backends/sqlite3_backend.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstat/backends/sqlite3_backend.c b/src/libstat/backends/sqlite3_backend.c index 4ded6198d..90c184ae3 100644 --- a/src/libstat/backends/sqlite3_backend.c +++ b/src/libstat/backends/sqlite3_backend.c @@ -187,7 +187,6 @@ rspamd_sqlite3_opendb (const gchar *path, const ucl_object_t *opts, { struct rspamd_stat_sqlite3_db *bk; - bk = g_slice_alloc0 (sizeof (*bk)); bk->sqlite = rspamd_sqlite3_open_or_create (path, create_tables_sql, err); |