summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-09 15:31:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-09 15:31:01 +0000
commitcc74c0e4332e021772d283f5aae6d6967f6ccf7d (patch)
treea90e8ed2cbab99a6757b16f97a36aa1666246a14
parent3fb037e2700bae9b71959b149bab067ca5745377 (diff)
fix for crashes in SecureIM upon dynamic load/unload
fixes: #310 git-svn-id: http://svn.miranda-ng.org/main/trunk@4396 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/CryptoPP/src/cpp_rsam.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CryptoPP/src/cpp_rsam.cpp b/plugins/CryptoPP/src/cpp_rsam.cpp
index e8b68986ed..a356e7ad0a 100644
--- a/plugins/CryptoPP/src/cpp_rsam.cpp
+++ b/plugins/CryptoPP/src/cpp_rsam.cpp
@@ -74,6 +74,7 @@ int __cdecl rsa_done(void) {
delete p;
tmp->pdata = 0;
cpp_delete_context(hRSA4096);
+ hRSA4096 = NULL;
}
return 1;