Fix missing SQLite3 statement pointer initialization

This fixes a segfault when the database is shut down
before it finishes connecting and setting up.
This commit is contained in:
ShadowNinja 2015-04-07 00:29:29 -04:00
parent 392ac41c99
commit 3c6e112c28
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ Database_SQLite3::Database_SQLite3(const std::string &savedir) :
m_stmt_read(NULL), m_stmt_read(NULL),
m_stmt_write(NULL), m_stmt_write(NULL),
m_stmt_list(NULL), m_stmt_list(NULL),
m_stmt_delete(NULL) m_stmt_delete(NULL),
m_stmt_begin(NULL),
m_stmt_end(NULL)
{ {
} }