Fixing possible memory leak and compiler warnings.
This commit is contained in:
@@ -299,6 +299,7 @@ CryptHelper::AES128Encrypt(const unsigned char *keyData, unsigned keySize, const
|
||||
|
||||
gcry_cipher_close(hd);
|
||||
#endif
|
||||
delete[] paddedPlainStr;
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user