mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 473268 - We should use forget instead of swap in mozStorageService.cpp; r=sdwilsh
This commit is contained in:
parent
1c1304980a
commit
4bf92afb22
@ -302,7 +302,7 @@ mozStorageService::BackupDatabaseFile(nsIFile *aDBFile,
|
||||
rv = backupDB->Remove(PR_FALSE);
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
backupDB.swap(*backup);
|
||||
backupDB.forget(backup);
|
||||
|
||||
return aDBFile->CopyTo(parentDir, fileName);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user