Avoid double unlock of TLS mutex

* exceptions.cc (sigpacket::process): Avoid potentially double unlocking
	the TLS mutex.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen
2015-10-30 17:21:30 +01:00
parent 8f97c045b8
commit 4a407e9037
2 changed files with 6 additions and 4 deletions

View File

@ -1475,10 +1475,7 @@ sigpacket::process ()
else if (!sigismember (&tls->sigmask, si.si_signo))
issig_wait = false;
else
{
cygheap->unlock_tls (tl_entry);
tls = NULL;
}
tls = NULL;
}
}