diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 04:46:09 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 04:46:09 +0000 |
commit | 91c836e0591bd3c3d874eb18d2403ce927e6be6a (patch) | |
tree | 9c9efc5ef33e7692504d89293d9b7aebb522059d /chrome/browser/profile.cc | |
parent | 2e84a65aed0e4683dd1ae27c731edefbb57bf7d3 (diff) | |
download | chromium_src-91c836e0591bd3c3d874eb18d2403ce927e6be6a.zip chromium_src-91c836e0591bd3c3d874eb18d2403ce927e6be6a.tar.gz chromium_src-91c836e0591bd3c3d874eb18d2403ce927e6be6a.tar.bz2 |
Fix a leak caught by valgrind following r31199
TBR=jam
Review URL: http://codereview.chromium.org/375007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r-- | chrome/browser/profile.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc index 9c182bb..cbee927 100644 --- a/chrome/browser/profile.cc +++ b/chrome/browser/profile.cc @@ -1315,7 +1315,6 @@ void ProfileImpl::ReinitializeSpellCheckHost(bool force) { spellcheck_host_ = new SpellCheckHost(this, WideToASCII(prefs->GetString(prefs::kSpellCheckDictionary)), GetRequestContext()); - spellcheck_host_->AddRef(); } else if (notify) { // The spellchecker has been disabled. SpellCheckHostInitialized(); |