Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ddfeae9

Browse filesBrowse files
committed
Fix AsyncUDP server exception
1 parent ff90778 commit ddfeae9
Copy full SHA for ddfeae9

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

‎libraries/AsyncUDP/src/AsyncUDP.cpp

Copy file name to clipboardExpand all lines: libraries/AsyncUDP/src/AsyncUDP.cpp
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ AsyncUDPPacket::AsyncUDPPacket(AsyncUDP *udp, pbuf *pb, const ip_addr_t *raddr,
286286
_len = pb->len;
287287
_index = 0;
288288

289+
pbuf_ref(_pb);
290+
289291
//memcpy(&_remoteIp, raddr, sizeof(ip_addr_t));
290292
_remoteIp.type = raddr->type;
291293
_localIp.type = _remoteIp.type;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.