Skip to content
Snippets Groups Projects
Commit 5e467e48 authored by Rich Megginson's avatar Rich Megginson Committed by Howard Chu
Browse files

ITS#6862 MozNSS - workaround PR_SetEnv bug

parent d78cf816
No related branches found
No related tags found
No related merge requests found
......@@ -2891,7 +2891,9 @@ tlsm_init( void )
* context in the child.
*/
if ( !nofork ) {
PR_SetEnv( "NSS_STRICT_NOFORK=DISABLED" );
/* will leak one time */
char *noforkenvvar = PL_strdup( "NSS_STRICT_NOFORK=DISABLED" );
PR_SetEnv( noforkenvvar );
}
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment