Merge pull request #2722 from liamcottle/fix/free-packet-on-parse-failure

Fix: CMD_SEND_RAW_PACKET not freeing packet on parse failure
This commit is contained in:
ripplebiz
2026-06-08 22:47:06 +10:00
committed by GitHub
+1
View File
@@ -1981,6 +1981,7 @@ void MyMesh::handleCmdFrame(size_t len) {
sendPacket(pkt, priority, 0);
writeOKFrame();
} else {
releasePacket(pkt);
writeErrFrame(ERR_CODE_ILLEGAL_ARG);
}
} else {