pfil: don't leak pfil_head_t on interface detach

PR:		256714
Submitted by:	jcaplan@blackberry.com
This commit is contained in:
Gleb Smirnoff 2023-12-21 10:53:49 -08:00
parent 3ff574c5e1
commit c1c55da49f

View File

@ -295,6 +295,7 @@ pfil_head_unregister(pfil_head_t ph)
free(link, M_PFIL);
}
PFIL_UNLOCK();
free(ph, M_PFIL);
}
pfil_hook_t