diff options
author | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 21:20:54 +0000 |
---|---|---|
committer | dkegel@google.com <dkegel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 21:20:54 +0000 |
commit | 8369500c25a176704880963b79b7f0ce8b326d27 (patch) | |
tree | 09e036dcbc528daf2106e0ba6310d1d18c1bfeea /base | |
parent | d80692b0a784183023239e6812e19bf810926e33 (diff) | |
download | chromium_src-8369500c25a176704880963b79b7f0ce8b326d27.zip chromium_src-8369500c25a176704880963b79b7f0ce8b326d27.tar.gz chromium_src-8369500c25a176704880963b79b7f0ce8b326d27.tar.bz2 |
Avoid leaking hash_object_ in SignatureCreator on Windows.
TEST=valgrind wine base_unittests SIgnatureCreatorTest.*
BUG=none
Review URL: http://codereview.chromium.org/391040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/crypto/signature_creator_win.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/base/crypto/signature_creator_win.cc b/base/crypto/signature_creator_win.cc index 700a309..4ac303d 100644 --- a/base/crypto/signature_creator_win.cc +++ b/base/crypto/signature_creator_win.cc @@ -61,7 +61,6 @@ bool SignatureCreator::Final(std::vector<uint8>* signature) { for (size_t i = temp.size(); i > 0; --i) signature->push_back(temp[i - 1]); - hash_object_ = 0; return true; } |