Fix leak of memory and possible crashes in AsyncUDP

This commit is contained in:
me-no-dev
2021-02-16 10:26:37 +02:00
parent f13ff65691
commit 8134a42162
2 changed files with 12 additions and 2 deletions

View File

@ -58,6 +58,7 @@ protected:
size_t _len;
size_t _index;
public:
AsyncUDPPacket(AsyncUDPPacket &packet);
AsyncUDPPacket(AsyncUDP *udp, pbuf *pb, const ip_addr_t *addr, uint16_t port, struct netif * netif);
virtual ~AsyncUDPPacket();