Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit a12e988

Browse files
author
Catalin Ioana
authored
Merge pull request #47 from pycom/pymesh-br-fix
[Pymesh] Border Router bug fix, by manually freeing BR packets
2 parents 8613266 + 9f97134 commit a12e988

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

esp32/mods/modmesh.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,9 @@ void br_ip6_rcv_cb(otMessage *aMessage, void *aContext){
976976
xQueueSend(sock->rx_queue, (void *) &rx_data, 0);
977977
}
978978

979+
// free message
980+
otMessageFree(aMessage);
981+
979982
// callback to mpy if registered
980983
if (ot_obj.handler != mp_const_none) {
981984
//printf("Calling cb\n");

0 commit comments

Comments
 (0)