diff options
Diffstat (limited to 'crypto/nss_util.cc')
-rw-r--r-- | crypto/nss_util.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc index 9cd0cd1..b3fe4a2 100644 --- a/crypto/nss_util.cc +++ b/crypto/nss_util.cc @@ -746,9 +746,8 @@ ScopedTestNSSDB::ScopedTestNSSDB() } ScopedTestNSSDB::~ScopedTestNSSDB() { - // TODO(mattm): Close the dababase once NSS 3.14 is required, - // which fixes https://bugzilla.mozilla.org/show_bug.cgi?id=588269 - // Resource leaks are suppressed. http://crbug.com/156433 . + if (NSS_VersionCheck("3.14")) + g_nss_singleton.Get().CloseTestNSSDB(); } base::Lock* GetNSSWriteLock() { |