mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Fix memory leak when attaching a database
This commit is contained in:
@@ -205,6 +205,7 @@ bool DBBrowserDB::attach(const QString& filePath, QString attach_as)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
sqlite3_finalize(db_vm);
|
||||
}
|
||||
|
||||
// Ask for name to be given to the attached database if none was provided
|
||||
|
||||
Reference in New Issue
Block a user