From: Aki Tuomi Date: Tue, 13 Jan 2015 08:30:38 +0000 (+0200) Subject: Fixes CID 1262547 X-Git-Tag: rec-3.7.0-rc1~6^2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4517517b120d2d7f9856af6cd90b7beac4ed8239;p=pdns Fixes CID 1262547 --- diff --git a/pdns/ssqlite3.cc b/pdns/ssqlite3.cc index 618c3f8a7..dbc5cbda8 100644 --- a/pdns/ssqlite3.cc +++ b/pdns/ssqlite3.cc @@ -146,6 +146,7 @@ SSQLite3::SSQLite3( const std::string & database, bool creat ) throw sPerrorException( "Could not connect to the SQLite database '" + database + "'" ); m_dolog = 0; m_in_transaction = false; + m_pStmt = NULL; sqlite3_busy_handler(m_pDB, busyHandler, 0); }