]> git.proxmox.com Git - qemu.git/blobdiff - slirp/tcp_subr.c
slirp: Replace m_freem with m_free
[qemu.git] / slirp / tcp_subr.c
index b661d2623c52c3d180260d6038b435d7934e7122..61079b1b2d9121567256d4162b5448e906005d36 100644 (file)
@@ -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;