MFC 1.3:
Free private data when deleting hook. PR: kern/93952 Submitted by: Antoine Brodin <antoine.brodin laposte.net> Approved by: re (mux)
This commit is contained in:
parent
64f07cddfc
commit
fc9f312630
@ -368,6 +368,8 @@ ng_tcpmss_disconnect(hook_p hook)
|
||||
priv->outHook = NULL;
|
||||
}
|
||||
|
||||
FREE(NG_HOOK_PRIVATE(hook), M_NETGRAPH);
|
||||
|
||||
if (NG_NODE_NUMHOOKS(NG_HOOK_NODE(hook)) == 0)
|
||||
ng_rmnode_self(NG_HOOK_NODE(hook));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user