mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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:
parent
5a82362ad0
commit
3acccfc67d
7 changed files with 16 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue