mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
pfil: don't leak pfil_head_t on interface detach
PR: 256714 Submitted by: jcaplan@blackberry.com (cherry picked from commit c1c55da49fd55c01771f8cf1f7255a37b79735d7)
This commit is contained in:
parent
ac84975e4a
commit
7cfc847aba
1 changed files with 1 additions and 0 deletions
|
|
@ -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