diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-19 01:49:13 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-19 01:49:13 +0000 |
commit | 8eb21c922f41dd850ea71e7fb391e50f7b4a9f5f (patch) | |
tree | 9685c1715f254be4c43467d81e028c0a1c1c905e /net/cert | |
parent | 5091ed4321fed483bf1243b8d394ac425aada78a (diff) | |
download | chromium_src-8eb21c922f41dd850ea71e7fb391e50f7b4a9f5f.zip chromium_src-8eb21c922f41dd850ea71e7fb391e50f7b4a9f5f.tar.gz chromium_src-8eb21c922f41dd850ea71e7fb391e50f7b4a9f5f.tar.bz2 |
Fix leak in net::NSSProfileFilterChromeOS::IsCertAllowed.
BUG=329104
Review URL: https://codereview.chromium.org/108653008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/cert')
-rw-r--r-- | net/cert/nss_profile_filter_chromeos.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/cert/nss_profile_filter_chromeos.cc b/net/cert/nss_profile_filter_chromeos.cc index 6fe8eba..926526c 100644 --- a/net/cert/nss_profile_filter_chromeos.cc +++ b/net/cert/nss_profile_filter_chromeos.cc @@ -76,6 +76,7 @@ bool NSSProfileFilterChromeOS::IsCertAllowed( if (IsModuleAllowed(slot_element->slot)) { DVLOG(3) << "cert from " << CertSlotsString(cert) << " allowed: " << cert->subject().GetDisplayName(); + PK11_FreeSlotListElement(slots_for_cert.get(), slot_element); return true; } } |