aboutsummaryrefslogtreecommitdiff
path: root/slirp/tcp_subr.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/tcp_subr.c
parent5a82362ad0bf06bba3377d63ca0ecd05fb74f322 (diff)
downloadqemu-3acccfc67d3aa4611142e2171337c7c494b52efb.zip
qemu-3acccfc67d3aa4611142e2171337c7c494b52efb.tar.gz
qemu-3acccfc67d3aa4611142e2171337c7c494b52efb.tar.bz2
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/tcp_subr.c')
-rw-r--r--slirp/tcp_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c
index b661d26..61079b1 100644
--- a/slirp/tcp_subr.c
+++ b/slirp/tcp_subr.c
@@ -250,7 +250,7 @@ tcp_close(struct tcpcb *tp)
t = tcpiphdr_next(t);
m = tcpiphdr_prev(t)->ti_mbuf;
remque(tcpiphdr2qlink(tcpiphdr_prev(t)));
- m_freem(m);
+ m_free(m);
}
free(tp);
so->so_tcpcb = NULL;