summaryrefslogtreecommitdiff
path: root/plugins/!Deprecated
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2013-05-04 11:32:37 +0000
committerAlexander Gluzsky <sss123next@list.ru>2013-05-04 11:32:37 +0000
commit328e0050b61483c0192bcb1478e7e88b18b6643e (patch)
treee5137b2070a7d6f59d8c626bbfe78a40d0bf1608 /plugins/!Deprecated
parentc138b59f862ab83cf5145fc40bd1bcfa9bea6f06 (diff)
crash fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!Deprecated')
-rwxr-xr-x[-rw-r--r--]plugins/!Deprecated/New_GPG/src/messages.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/!Deprecated/New_GPG/src/messages.cpp b/plugins/!Deprecated/New_GPG/src/messages.cpp
index 3eefe84b91..645d6a5435 100644..100755
--- a/plugins/!Deprecated/New_GPG/src/messages.cpp
+++ b/plugins/!Deprecated/New_GPG/src/messages.cpp
@@ -1017,7 +1017,7 @@ int HookSendMsg(WPARAM w, LPARAM l)
CallContactService(hContact, PSS_MESSAGE, (dbei->flags & DBEF_UTF) ? PREF_UTF : 0, (LPARAM)"-----PGP KEY REQUEST-----");
hcontact_data[hContact].msgs_to_send.push_back((char*)dbei->pBlob);
boost::thread *thr = new boost::thread(boost::bind(send_encrypted_msgs_thread, hContact));
- mir_free((char*)dbei->pBlob);
+ //mir_free((char*)dbei->pBlob);
//TODO: wait for message
return 0;
}
@@ -1041,7 +1041,7 @@ int HookSendMsg(WPARAM w, LPARAM l)
if(bAppendTags)
{
string str_event = (char*)dbei->pBlob;
- mir_free(dbei->pBlob);
+ //mir_free(dbei->pBlob);
str_event.insert(0, toUTF8(outopentag));
str_event.append(toUTF8(outclosetag));
dbei->pBlob = (PBYTE)mir_strdup(str_event.c_str());