* environ.cc: Add TMPDIR to the list of environment variables which are
converted to POSIX format. * sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is NULL.
This commit is contained in:
@@ -532,8 +532,11 @@ proc_terminate (void)
|
||||
* non-raceable manner.
|
||||
*/
|
||||
muto *m = sync_proc_subproc;
|
||||
sync_proc_subproc = NULL;
|
||||
delete m;
|
||||
if (m)
|
||||
{
|
||||
sync_proc_subproc = NULL;
|
||||
delete m;
|
||||
}
|
||||
}
|
||||
sip_printf ("leaving");
|
||||
}
|
||||
|
Reference in New Issue
Block a user