SQLite connection is opened with [sqlite3_open_v2](https://github.com/pocoproject/poco/blob/poco-1.9.0/Data/SQLite/src/SessionImpl.cpp#L161), but closed with [sqlite3_close](https://github.com/pocoproject/poco/blob/poco-1.9.0/Data/SQLite/src/SessionImpl.cpp#L185). Valgrind reports memory leak. Closing with [sqlite3_close_v2](https://www.sqlite.org/c3ref/close.html) fixes it.
SQLite connection is opened with sqlite3_open_v2, but closed with sqlite3_close. Valgrind reports memory leak.
Closing with sqlite3_close_v2 fixes it.