mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix a bug where we were accessing already free'd memory during node shutdown.
Detected via: 0xdeadc0de
This commit is contained in:
parent
e16f9ed345
commit
8a660c773a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64365
@ -492,7 +492,7 @@ ngfrm_rmnode(node_p node)
|
||||
ng_unname(node);
|
||||
node->private = NULL;
|
||||
FREE(sc, M_NETGRAPH);
|
||||
ng_unref(sc->node);
|
||||
ng_unref(node);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user