diff options
author | wtc%netscape.com <devnull@localhost> | 2000-10-01 17:13:34 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2000-10-01 17:13:34 +0000 |
commit | b3277a2806b498e75cdc16e1a1cf9804204e0d8d (patch) | |
tree | 3afc28b74c6e31fe9aa817825ba28482cee04a49 | |
parent | f71b89773f6be94ce39e1a187c4b1f3cf30eb717 (diff) | |
download | nss-hg-b3277a2806b498e75cdc16e1a1cf9804204e0d8d.tar.gz |
Bugzilla bug #39476: free the dbname in the success case.
-rw-r--r-- | security/nss/lib/softoken/keydb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/lib/softoken/keydb.c b/security/nss/lib/softoken/keydb.c index 8f168a296..a9e2aa8b4 100644 --- a/security/nss/lib/softoken/keydb.c +++ b/security/nss/lib/softoken/keydb.c @@ -684,6 +684,8 @@ newdb: } handle->global_salt = GetKeyDBGlobalSalt(handle); + if ( dbname ) + PORT_Free( dbname ); return handle; loser: |