]> granicus.if.org Git - pdns/commitdiff
Fixes CID 1262547
authorAki Tuomi <cmouse@desteem.org>
Tue, 13 Jan 2015 08:30:38 +0000 (10:30 +0200)
committerAki Tuomi <cmouse@desteem.org>
Tue, 13 Jan 2015 08:39:15 +0000 (10:39 +0200)
pdns/ssqlite3.cc

index 618c3f8a700e9731fc77d6c8e2c8e59e1e025bb4..dbc5cbda8763d2011ecac5d9f8b2801ea3a459c3 100644 (file)
@@ -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);
 }