mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 08:52:07 +01:00
Free things in the right order
This commit is contained in:
parent
aa008d0cf2
commit
abca534c5b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79806
@ -1069,8 +1069,8 @@ netbufdup(struct netbuf *ap)
|
||||
static void
|
||||
netbuffree(struct netbuf *ap)
|
||||
{
|
||||
free(ap);
|
||||
free(ap->buf);
|
||||
free(ap);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user