summaryrefslogtreecommitdiff
path: root/slirp/ip_output.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-07-20 12:20:16 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2011-07-23 10:19:49 -0500
commit3acccfc67d3aa4611142e2171337c7c494b52efb (patch)
treeb08c98364394eb863a23cd12a09ee7fd92ac14ea /slirp/ip_output.c
parent5a82362ad0bf06bba3377d63ca0ecd05fb74f322 (diff)
downloadqemu-3acccfc67d3aa4611142e2171337c7c494b52efb.tar.gz
qemu-3acccfc67d3aa4611142e2171337c7c494b52efb.tar.bz2
qemu-3acccfc67d3aa4611142e2171337c7c494b52efb.zip
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>
Diffstat (limited to 'slirp/ip_output.c')
-rw-r--r--slirp/ip_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slirp/ip_output.c b/slirp/ip_output.c
index 542f3180be..c82830fe7d 100644
--- a/slirp/ip_output.c
+++ b/slirp/ip_output.c
@@ -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;
}