diff options
Diffstat (limited to 'plugins/CryptoPP/src/base16.cpp')
-rw-r--r-- | plugins/CryptoPP/src/base16.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CryptoPP/src/base16.cpp b/plugins/CryptoPP/src/base16.cpp index 700cec8502..d28daf99a3 100644 --- a/plugins/CryptoPP/src/base16.cpp +++ b/plugins/CryptoPP/src/base16.cpp @@ -20,8 +20,8 @@ char *base16encode(const char *inBuffer, int count) { char *base16decode(const char *inBuffer, unsigned int *count) {
- char *outBuffer = (char *) malloc(*count);
- BYTE *outBufferPtr = (BYTE *) outBuffer;
+ char *outBuffer = (char *)mir_alloc(*count);
+ BYTE *outBufferPtr = (BYTE *)outBuffer;
bool big_endian = false;
if (*inBuffer == '0' && *(inBuffer+1) == 'x') {
|