| Index: base/crypto/rsa_private_key_nss.cc
|
| ===================================================================
|
| --- base/crypto/rsa_private_key_nss.cc (revision 42322)
|
| +++ base/crypto/rsa_private_key_nss.cc (working copy)
|
| @@ -11,6 +11,7 @@
|
| #include <iostream>
|
| #include <list>
|
|
|
| +#include "base/leak_annotations.h"
|
| #include "base/logging.h"
|
| #include "base/nss_util.h"
|
| #include "base/scoped_ptr.h"
|
| @@ -63,6 +64,9 @@
|
| // static
|
| RSAPrivateKey* RSAPrivateKey::CreateFromPrivateKeyInfo(
|
| const std::vector<uint8>& input) {
|
| + // This method currently leaks some memory.
|
| + // See http://crbug.com/34742.
|
| + ANNOTATE_SCOPED_MEMORY_LEAK;
|
| scoped_ptr<RSAPrivateKey> result(new RSAPrivateKey);
|
|
|
| PK11SlotInfo *slot = PK11_GetInternalSlot();
|
|
|