X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=slirp%2Ftcp_subr.c;h=61079b1b2d9121567256d4162b5448e906005d36;hb=3acccfc67d3aa4611142e2171337c7c494b52efb;hp=b661d2623c52c3d180260d6038b435d7934e7122;hpb=b6dce92e8917762e6bf81e177b20a0b7909a0532;p=qemu.git diff --git a/slirp/tcp_subr.c b/slirp/tcp_subr.c index b661d2623..61079b1b2 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;