diff options
author | lloyd <[email protected]> | 2014-02-08 13:38:05 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-08 13:38:05 +0000 |
commit | 4a1bd5fffef24d8d09534760fd1b4a435948ca9d (patch) | |
tree | b0e2371d3ae6c6faddcc67406a28d5bf403de83a /src/lib/tls | |
parent | 4497e26819846a51432326ada92df6d341db7f27 (diff) |
Compile fixes
Diffstat (limited to 'src/lib/tls')
-rw-r--r-- | src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.cpp | 1 | ||||
-rw-r--r-- | src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.cpp b/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.cpp index 4a46c6fe3..21483067f 100644 --- a/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.cpp +++ b/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.cpp @@ -118,6 +118,7 @@ Session_Manager_SQLite::Session_Manager_SQLite(const std::string& passphrase, Session_Manager_SQLite::~Session_Manager_SQLite() { + delete m_db; } bool Session_Manager_SQLite::load_from_session_id(const std::vector<byte>& session_id, diff --git a/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.h b/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.h index e6c7901f7..7892ccd6a 100644 --- a/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.h +++ b/src/lib/tls/sessions_sqlite/tls_session_manager_sqlite.h @@ -70,7 +70,7 @@ class BOTAN_DLL Session_Manager_SQLite : public Session_Manager RandomNumberGenerator& m_rng; size_t m_max_sessions; std::chrono::seconds m_session_lifetime; - std::unique_ptr<sqlite3_database> m_db; + sqlite3_database* m_db; }; } |