mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
pfil: don't leak pfil_head_t on interface detach
PR: 256714 Submitted by: jcaplan@blackberry.com
This commit is contained in:
parent
3ff574c5e1
commit
c1c55da49f
|
@ -295,6 +295,7 @@ pfil_head_unregister(pfil_head_t ph)
|
|||
free(link, M_PFIL);
|
||||
}
|
||||
PFIL_UNLOCK();
|
||||
free(ph, M_PFIL);
|
||||
}
|
||||
|
||||
pfil_hook_t
|
||||
|
|
Loading…
Reference in a new issue