fix extra free

This commit is contained in:
geeksville
2020-05-25 08:19:14 -07:00
parent 1656c8d0cb
commit 829e0b6e26
3 changed files with 5 additions and 5 deletions

View File

@@ -247,10 +247,7 @@ void MeshService::sendToMesh(MeshPacket *p)
}
// Note: We might return !OK if our fifo was full, at that point the only option we have is to drop it
if (router.sendLocal(p) != ERRNO_OK) {
DEBUG_MSG("No radio was able to send packet, discarding...\n");
releaseToPool(p);
}
router.sendLocal(p);
}
void MeshService::sendNetworkPing(NodeNum dest, bool wantReplies)