runtime: TCP - can't free in tcp_close() either
@@ -1035,12 +1035,6 @@ void tcp_close(tcpconn_t *c)
tcp_conn_shutdown_rx(c);
spin_unlock_np(&c->lock);
- /* try to free up some memory */
- if (c->tx_pending)
- mbuf_free(c->tx_pending);
- mbuf_list_free(&c->txq);
- mbuf_list_free(&c->rxq_ooo);
-
tcp_conn_put(c);
}
