Commit ca45e62b authored by Rich Megginson's avatar Rich Megginson Committed by Quanah Gibson-Mount
Browse files

ITS#6862 MozNSS - workaround PR_SetEnv bug

parent 7e528ae8
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment