mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-23 04:52:42 -08:00
fix coverity 435052 Dereference before null check
https://scan7.coverity.com/reports.htm#v29378/p15116/fileInstanceId=19259832&defectInstanceId=4445114&mergedDefectId=1435052
This commit is contained in:
parent
e688ca4058
commit
6c8449b147
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ thread_cleanup(void *aux)
|
|||
cl_env_ptr env = process->process.env;
|
||||
/* The following flags will disable all interrupts. */
|
||||
AO_store_full((AO_t*)&process->process.phase, ECL_PROCESS_EXITING);
|
||||
ecl_disable_interrupts_env(env);
|
||||
if (env) ecl_disable_interrupts_env(env);
|
||||
#ifdef HAVE_SIGPROCMASK
|
||||
/* ...but we might get stray signals. */
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue