diff --git a/mailnews/base/src/nsMessengerMigrator.cpp b/mailnews/base/src/nsMessengerMigrator.cpp index ac8783c574f..d68e591705b 100644 --- a/mailnews/base/src/nsMessengerMigrator.cpp +++ b/mailnews/base/src/nsMessengerMigrator.cpp @@ -665,6 +665,7 @@ nsMessengerMigrator::UpgradePrefs() if (NS_FAILED(rv)) return rv; // remove the temporary identity we used for migration purposes + identity->ClearAllValues(); rv = accountManager->RemoveIdentity(identity); return rv; }