Set p_encrypted to nullptr after release

This commit is contained in:
Jonathan Bennett
2025-12-17 08:52:35 -06:00
committed by GitHub
parent e369f893ef
commit 25885540f8

View File

@@ -758,6 +758,7 @@ void Router::handleReceived(meshtastic_MeshPacket *p, RxSource src)
}
packetPool.release(p_encrypted); // Release the encrypted packet
p_encrypted = nullptr;
}
void Router::perhapsHandleReceived(meshtastic_MeshPacket *p)