mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix memory leak
CID: 1393352
This commit is contained in:
parent
5a43dca273
commit
43d7b1c097
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ stop_pr(struct pr *pr)
|
|||
err(2, "kevent");
|
||||
wstatus = pr->e[0].data;
|
||||
close(pr->kq);
|
||||
free(pr);
|
||||
if (WIFEXITED(wstatus) && WEXITSTATUS(wstatus) != 0)
|
||||
errx(2, "pr exited abnormally");
|
||||
else if (WIFSIGNALED(wstatus))
|
||||
|
|
|
|||
Loading…
Reference in a new issue