NSS: NSS_InitReadWrite leaks on error
Graham Leggett <[email protected]>
| Newsgroups | gmane.comp.mozilla.crypto |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have some code that initialises using NSS_InitReadWrite(), which is failing with the result code SEC_ERROR_LEGACY_DATABASE (-8015). After this failure NSS_IsInitialized() returns false as expected. Valgrind however reports a number of leaks at the end of the code, showing that NSS_InitReadWrite() part-way initialised itself, but then didn’t clean up after itself on fail. Is this a known bug? Regards, Graham — -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto