summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-09 18:20:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-09 18:20:47 +0000
commit386027286f7c2eb71ef8175d34745fdd712468ab (patch)
tree0051548e2f0a6f2260bcfd49906464689b883344 /src
parent7b2f9506ab961f4662ba43cdcc423a4a540643d9 (diff)
memory corruption in StdMsg + Skype
git-svn-id: http://svn.miranda-ng.org/main/trunk@4613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index 3caa33806f..c98b11ab15 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -134,7 +134,7 @@ HANDLE SendMessageDirect(const TCHAR *szMsg, HANDLE hContact, char *szProto)
HANDLE hNewEvent = db_event_add(hContact, &dbei);
msgQueue_add(hContact, sendId, szMsg, hNewEvent);
- mir_free(sendBuffer);
+ mir_free(dbei.pBlob);
return hNewEvent;
}