Skip to content

Commit

Permalink
Bug 1606992 - Permit sftk_PBELockInit being called multiple times. r=…
Browse files Browse the repository at this point in the history
…kjacobs

Differential Revision: https://phabricator.services.mozilla.com/D60236

--HG--
extra : moz-landing-system : lando
  • Loading branch information
kaie committed Jan 17, 2020
1 parent 5b7e4f9 commit 80595a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/softoken/lowpbe.c
Expand Up @@ -573,9 +573,10 @@ static struct {
void
sftk_PBELockInit(void)
{
PORT_Assert(!PBECache.lock);
if (!PBECache.lock) {
PBECache.lock = PZ_NewLock(nssIPBECacheLock);
}
}

static void
sftk_clearPBECacheItemsLocked(void)
Expand Down

0 comments on commit 80595a9

Please sign in to comment.