diff options
author | George Hazan <george.hazan@gmail.com> | 2013-03-31 20:25:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-03-31 20:25:06 +0000 |
commit | c3bc5acc8901c1f6587750cd193b72033c0b0188 (patch) | |
tree | 44da53acce0474be58420cc330dac429ad3d7329 /plugins/CryptoPP/src/cpp_cntx.cpp | |
parent | 80fd782ef78a302f77f5f58e08e32c7a29e2105a (diff) |
fix against the crash on the inactive CryptoPP context
git-svn-id: http://svn.miranda-ng.org/main/trunk@4270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CryptoPP/src/cpp_cntx.cpp')
-rw-r--r-- | plugins/CryptoPP/src/cpp_cntx.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/CryptoPP/src/cpp_cntx.cpp b/plugins/CryptoPP/src/cpp_cntx.cpp index c4d2c46338..f0f1c2d96b 100644 --- a/plugins/CryptoPP/src/cpp_cntx.cpp +++ b/plugins/CryptoPP/src/cpp_cntx.cpp @@ -27,7 +27,6 @@ HANDLE __cdecl cpp_create_context(int mode) { // delete context
void __cdecl cpp_delete_context(HANDLE context) {
-
pCNTX tmp = get_context_on_id(context);
if (tmp) { // помечаем на удаление
cpp_free_keys(tmp);
@@ -38,7 +37,6 @@ void __cdecl cpp_delete_context(HANDLE context) { // reset context
void __cdecl cpp_reset_context(HANDLE context) {
-
pCNTX tmp = get_context_on_id(context);
if (tmp) cpp_free_keys(tmp);
}
|