mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-21 13:51:18 +00:00
nit
This commit is contained in:
@ -154,7 +154,13 @@ static int __afl_dummy_fd[2] = {2, 2};
|
||||
|
||||
static void at_exit(int signal) {
|
||||
|
||||
if (child_pid > 0) { kill(child_pid, SIGKILL); }
|
||||
if (unlikely(child_pid > 0)) {
|
||||
|
||||
kill(child_pid, SIGKILL);
|
||||
child_pid = -1;
|
||||
|
||||
}
|
||||
|
||||
_exit(0);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user