fix accidental double delete;

2.0-maint
Bryan Biedenkapp 3 years ago
parent 82138f2024
commit 22356a6557

@ -1605,7 +1605,7 @@ void TSBK::copy(const TSBK& data)
::memcpy(m_authRes, data.m_authRes, P25_AUTH_RES_LENGTH_BYTES);
if (m_authRS != NULL) {
delete[] m_authRes;
delete[] m_authRS;
}
m_authRS = new uint8_t[P25_AUTH_RAND_SEED_LENGTH_BYTES];

Loading…
Cancel
Save

Powered by TurnKey Linux.