Fixing possible memory leak and compiler warnings.
This commit is contained in:
1 parent
2cd2ac57ca
commit
2ad5f1cb40
3 files changed
+7
-6
No files matched your search
@@ -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