mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
Fix a memory leak on the error condition
Reviewed by: rpaulo
This commit is contained in:
parent
9998d4b63f
commit
faeece5e24
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ proc_attach(pid_t pid, int flags, struct proc_handle **pphdl)
|
|||
else
|
||||
*pphdl = phdl;
|
||||
out:
|
||||
|
||||
proc_free(phdl);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue