diff --git a/src/core/tcp.c b/src/core/tcp.c index 64eef699..50aa31f2 100644 --- a/src/core/tcp.c +++ b/src/core/tcp.c @@ -1681,6 +1681,8 @@ tcp_sent(struct tcp_pcb *pcb, tcp_sent_fn sent) * Used to specify the function that should be called when a fatal error * has occurred on the connection. * + * @note The corresponding pcb is already freed when this callback is called! + * * @param pcb tcp_pcb to set the err callback * @param err callback function to call for this pcb when a fatal error * has occurred on the connection