Free things in the right order

This commit is contained in:
Brian Somers 2001-07-16 22:12:06 +00:00
parent aa008d0cf2
commit abca534c5b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=79806

View File

@ -1069,8 +1069,8 @@ netbufdup(struct netbuf *ap)
static void
netbuffree(struct netbuf *ap)
{
free(ap);
free(ap->buf);
free(ap);
}