diff options
-rwxr-xr-x | plugins/Dbx_sqlite/src/dbintf.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbintf.cpp b/plugins/Dbx_sqlite/src/dbintf.cpp index b66664a222..dd8e18441f 100755 --- a/plugins/Dbx_sqlite/src/dbintf.cpp +++ b/plugins/Dbx_sqlite/src/dbintf.cpp @@ -14,7 +14,11 @@ CDbxSQLite::~CDbxSQLite() UninitSettings(); if (m_db) { - sqlite3_close(m_db); + int rc = sqlite3_close(m_db); + if (rc != SQLITE_OK) + { + //TODO: + } m_db = nullptr; } } |