mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
cipher: Fix leak and database being locked when opening a normal DB file
Fix a memory leak and make sure the database is being fully unlocked when opening a normal, not-enrypted database file.
This commit is contained in:
@@ -105,6 +105,7 @@ bool DBBrowserDB::open(const QString& db)
|
||||
return false;
|
||||
#endif
|
||||
} else {
|
||||
sqlite3_finalize(vm);
|
||||
done = true;
|
||||
}
|
||||
} while(!done);
|
||||
|
||||
Reference in New Issue
Block a user