mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 03:20:11 +01:00
fixed a memory leak when opening a SQLite database fails
This commit is contained in:
@@ -3368,7 +3368,7 @@ void SQLiteTest::testIllegalFilePath()
|
||||
{
|
||||
try
|
||||
{
|
||||
Session tmp (Poco::Data::SQLite::Connector::KEY, "\\/some\\/illegal\\/path\\/dummy.db", 1);
|
||||
Session tmp(Poco::Data::SQLite::Connector::KEY, "\\/some\\/illegal\\/path\\/dummy.db", 1);
|
||||
fail("must fail");
|
||||
}
|
||||
catch (ConnectionFailedException&)
|
||||
|
||||
Reference in New Issue
Block a user