From 328e0050b61483c0192bcb1478e7e88b18b6643e Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Sat, 4 May 2013 11:32:37 +0000 Subject: crash fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@4582 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/!Deprecated/New_GPG/src/messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 plugins/!Deprecated/New_GPG/src/messages.cpp (limited to 'plugins/!Deprecated') diff --git a/plugins/!Deprecated/New_GPG/src/messages.cpp b/plugins/!Deprecated/New_GPG/src/messages.cpp old mode 100644 new mode 100755 index 3eefe84b91..645d6a5435 --- 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()); -- cgit v1.2.3