From 0e270dbe709e743ec840999c05e35f4d63be69b4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sun, 15 Jan 2017 20:23:35 +0000 Subject: [Fix] Fix couple of issues Found by: Coverity --- src/libutil/sqlite_utils.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/libutil/sqlite_utils.c') diff --git a/src/libutil/sqlite_utils.c b/src/libutil/sqlite_utils.c index 9686d221a..7da003fa5 100644 --- a/src/libutil/sqlite_utils.c +++ b/src/libutil/sqlite_utils.c @@ -220,7 +220,6 @@ rspamd_sqlite3_wait (rspamd_mempool_t *pool, const gchar *lock) return FALSE; } if (nanosleep (&sleep_ts, NULL) == -1 && errno != EINTR) { - close (fd); msg_err_pool_check ("cannot sleep open lock file %s: %s", lock, strerror (errno)); -- cgit v1.2.3