slirp: Replace m_freem with m_free

Remove this pointless wrapping.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Jan Kiszka 2011-07-20 12:20:16 +02:00 committed by Anthony Liguori
parent 5a82362ad0
commit 3acccfc67d
7 changed files with 16 additions and 19 deletions

View file

@ -159,7 +159,7 @@ sendorfree:
if (error == 0)
if_output(so, m);
else
m_freem(m);
m_free(m);
}
}
@ -167,6 +167,6 @@ done:
return (error);
bad:
m_freem(m0);
m_free(m0);
goto done;
}