diff options
author | snej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-28 23:48:46 +0000 |
---|---|---|
committer | snej@chromium.org <snej@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-28 23:48:46 +0000 |
commit | de3784727a0656f23468e3caa1cdf4ad894a5d15 (patch) | |
tree | 3f9c15638717a4f3aae70d78071d6b2d4ea23264 /chrome/browser/password_manager | |
parent | 727c3ef1aec7d6d1d76dd3012c431690012bb4e2 (diff) | |
download | chromium_src-de3784727a0656f23468e3caa1cdf4ad894a5d15.zip chromium_src-de3784727a0656f23468e3caa1cdf4ad894a5d15.tar.gz chromium_src-de3784727a0656f23468e3caa1cdf4ad894a5d15.tar.bz2 |
Fix memory leak introduced in r45841.
BUG=none
TEST=PasswordManagerTest::FormSubmitFailedLogin + valgrind
Review URL: http://codereview.chromium.org/1795008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45884 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/password_manager')
-rw-r--r-- | chrome/browser/password_manager/password_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/password_manager/password_manager.cc b/chrome/browser/password_manager/password_manager.cc index 8ee0ac8..f3991f3 100644 --- a/chrome/browser/password_manager/password_manager.cc +++ b/chrome/browser/password_manager/password_manager.cc @@ -148,7 +148,7 @@ void PasswordManager::PasswordFormsVisible( // failure and abort this save, by clearing provisional_save_manager_. // Don't delete the login managers since the user may try again // and we want to be able to save in that case. - provisional_save_manager_.release(); + ClearProvisionalSave(); break; } } |