mirror of
https://github.com/encryptogroup/PSI.git
synced 2024-03-22 13:30:44 +08:00
fix malloc/free mismatch
Buffer was allocated with malloc and free with delete[].
This commit is contained in:
parent
c0611322c0
commit
aad023de7b
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user