Hotfix: CMD_SEND_RAW_PACKET not freeing packet on parse failure.

https://github.com/meshcore-dev/MeshCore/pull/2722
This commit is contained in:
Kevin Le committed 2026-06-09 11:59:14 +07:00
1 parent e0733f8346
commit 7c1b1c6e5e
1 file changed
+1
+1
View File
@@ -2010,6 +2010,7 @@ void MyMesh::handleCmdFrame(size_t len) {
sendPacket(pkt, priority, 0);
writeOKFrame();
} else {
releasePacket(pkt);
writeErrFrame(ERR_CODE_ILLEGAL_ARG);
}
} else {