diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 13:03:04 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 13:03:04 +0000 |
commit | 0145c2b269a6b0cb1f46698b1d84ccf9412fb50c (patch) | |
tree | b08573e4640b675a5e3d7a9e999cbc8143b05edf /base/crypto/signature_creator_unittest.cc | |
parent | 65dff99d25854d069e2e7926ee9e8ede11787410 (diff) | |
download | chromium_src-0145c2b269a6b0cb1f46698b1d84ccf9412fb50c.zip chromium_src-0145c2b269a6b0cb1f46698b1d84ccf9412fb50c.tar.gz chromium_src-0145c2b269a6b0cb1f46698b1d84ccf9412fb50c.tar.bz2 |
Annotated the scoped leak inside base::RSAPrivateKey::CreateFromPrivateKeyInfo,
removed the annotations from the tests calling it (RSAPrivateKeyUnitTest.* and
SignatureCreatorTest.BasicTest)
BUG=34742
TBR=wtc
Review URL: http://codereview.chromium.org/1271002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/crypto/signature_creator_unittest.cc')
-rw-r--r-- | base/crypto/signature_creator_unittest.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/base/crypto/signature_creator_unittest.cc b/base/crypto/signature_creator_unittest.cc index c2335ea..11959cb 100644 --- a/base/crypto/signature_creator_unittest.cc +++ b/base/crypto/signature_creator_unittest.cc @@ -6,7 +6,6 @@ #include "base/crypto/signature_creator.h" #include "base/crypto/signature_verifier.h" -#include "base/leak_annotations.h" #include "base/scoped_ptr.h" #include "testing/gtest/include/gtest/gtest.h" @@ -18,9 +17,6 @@ TEST(SignatureCreatorTest, BasicTest) { std::vector<uint8> key_info; key_original->ExportPrivateKey(&key_info); - // This test currently leaks some memory, - // see http://crbug.com/34742 - ANNOTATE_SCOPED_MEMORY_LEAK; scoped_ptr<base::RSAPrivateKey> key( base::RSAPrivateKey::CreateFromPrivateKeyInfo(key_info)); ASSERT_TRUE(key.get()); |