diff options
Diffstat (limited to 'plugins/CryptoPP/src/cpp_cntx.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_cntx.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/CryptoPP/src/cpp_cntx.cpp b/plugins/CryptoPP/src/cpp_cntx.cpp index 867060daba..327890f4ea 100644 --- a/plugins/CryptoPP/src/cpp_cntx.cpp +++ b/plugins/CryptoPP/src/cpp_cntx.cpp @@ -70,7 +70,8 @@ PBYTE cpp_alloc_pdata(pCNTX ptr) // free memory from keys
void cpp_free_keys(pCNTX ptr)
{
- replaceStr(ptr->tmp, 0);
+ mir_free(ptr->tmp);
+ ptr->tmp = 0;
cpp_alloc_pdata(ptr);
if (ptr->mode & MODE_PGP) {
pPGPDATA p = (pPGPDATA)ptr->pdata;
|