[chronojump] Fixed a potential sqlite bug on SqliteEncoderConfiguration.SelectByEconf
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed a potential sqlite bug on SqliteEncoderConfiguration.SelectByEconf
- Date: Wed, 27 Apr 2022 09:26:38 +0000 (UTC)
commit 703723472fb4d95c196f990f87ed34495c3601a5
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Apr 27 11:24:01 2022 +0200
Fixed a potential sqlite bug on SqliteEncoderConfiguration.SelectByEconf
src/sqlite/encoderConfiguration.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/sqlite/encoderConfiguration.cs b/src/sqlite/encoderConfiguration.cs
index 736e642cd..4f76a3317 100644
--- a/src/sqlite/encoderConfiguration.cs
+++ b/src/sqlite/encoderConfiguration.cs
@@ -345,7 +345,7 @@ class SqliteEncoderConfiguration : Sqlite
);
}
reader.Close();
- Sqlite.Close();
+ closeIfNeeded(dbconOpened);
return econfSO;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]