Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3122)

Unified Diff: base/crypto/signature_creator_unittest.cc

Issue 1271002: Annotated the scoped leak inside base::RSAPrivateKey::CreateFromPrivateKeyInf... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/crypto/signature_creator_unittest.cc
===================================================================
--- base/crypto/signature_creator_unittest.cc (revision 42322)
+++ base/crypto/signature_creator_unittest.cc (working copy)
@@ -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 @@
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());
« base/crypto/rsa_private_key_nss.cc ('K') | « base/crypto/rsa_private_key_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698