Hotfix: CMD_SEND_RAW_PACKET not freeing packet on parse failure.
https://github.com/meshcore-dev/MeshCore/pull/2722
This commit is contained in:
1 parent
e0733f8346
commit
7c1b1c6e5e
1 file changed
+1
@@ -2010,6 +2010,7 @@ void MyMesh::handleCmdFrame(size_t len) {
|
||||
sendPacket(pkt, priority, 0);
|
||||
writeOKFrame();
|
||||
} else {
|
||||
releasePacket(pkt);
|
||||
writeErrFrame(ERR_CODE_ILLEGAL_ARG);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user