зеркало из https://github.com/mozilla/pjs.git
321600: SECMOD_LoadPKCS11Module calls to PR_GetLibraryName must use PR_FreeLibraryName. r=wtchang. Patch provided by timeless.
This commit is contained in:
Родитель
1b42c8b73d
Коммит
cf92865f64
|
@ -272,7 +272,12 @@ SECMOD_LoadPKCS11Module(SECMODModule *mod) {
|
|||
*/
|
||||
library = PR_LoadLibrary(full_name);
|
||||
mod->library = (void *)library;
|
||||
#ifdef notdef
|
||||
PR_FreeLibraryName(full_name);
|
||||
#else
|
||||
PORT_Free(full_name);
|
||||
#endif
|
||||
|
||||
if (library == NULL) {
|
||||
return SECFailure;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче