• Jan Weigelt's avatar
    Fix AsyncUDP receive memory leak (#2607) · a87b2ec6
    Jan Weigelt authored
    If _handler is set, pbuf_free is not called. ~AsyncUDPPacket() calls pbuf_free once but only after calling pbuf_ref in it's constructor. The refcount never reaches zero and the memory allocated for pbuf is never released.
    a87b2ec6
AsyncUDP.cpp 21.3 KB