Fix the last of the shared db leaks. BOB_3_12_ALPHA_TEST_1
authorrrelyea%redhat.com
Sat, 16 Jun 2007 05:18:34 +0000
changeset 7895 9d8df85fb23dfe54a7b4dec403032752c84dcfef
parent 7873 d8de87f9440447c5fb6e9277be0c35ca30970bb2
child 7896 d498b10ebbaf2f24489794669054e29f79eb388f
push idunknown
push userunknown
push dateunknown
Fix the last of the shared db leaks.
security/nss/lib/softoken/legacydb/lginit.c
--- a/security/nss/lib/softoken/legacydb/lginit.c
+++ b/security/nss/lib/softoken/legacydb/lginit.c
@@ -37,16 +37,17 @@
  *
  * ***** END LICENSE BLOCK ***** */
 /* $Id$ */
 
 #include "lowkeyi.h"
 #include "pcert.h"
 #include "keydbi.h"
 #include "lgdb.h"
+#include "secoid.h"
 
 typedef struct LGPrivateStr {
     NSSLOWCERTCertDBHandle *certDB;
     NSSLOWKEYDBHandle *keyDB;
     PRLock *dbLock;
     PLHashTable *hashTable;
 } LGPrivate;
 
@@ -645,10 +646,11 @@ loser:
     return crv;
 }
 
 CK_RV
 legacy_Shutdown(void)
 {
     nsslowcert_DestroyFreeLists();
     nsslowcert_DestroyGlobalLocks();
+    SECOID_Shutdown();
     return CKR_OK;
 }