fix malloc/free mismatch

Buffer was allocated with malloc and free with delete[].
This commit is contained in:
Lennart Braun 2018-09-16 00:24:00 +03:00
parent c0611322c0
commit aad023de7b

View File

@ -81,7 +81,7 @@ void NaorPinkas::Receiver(uint32_t nSndVals, uint32_t nOTs, CBitVector& choices,
delete bc;//BrickDelete(&bc);
delete bg;//BrickDelete(&bg);
delete [] pBuf;
free(pBuf);
free(PK_sigma);
free(pDec);
free(pC);