mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-31 10:22:37 +00:00
Fix an unreleased lock in the RThreadFunctionRet
Fix an unreleased lock subprocs_mutex in the RThreadFunctionRet.
This commit is contained in:
parent
c61d187f44
commit
ad48d39666
@ -448,6 +448,7 @@ static RThreadFunctionRet sigchld_th(RThread *th) {
|
||||
}
|
||||
ut8 r = 0;
|
||||
if (write (proc->killpipe[1], &r, 1) != 1) {
|
||||
r_th_lock_leave (subprocs_mutex);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user