From 386027286f7c2eb71ef8175d34745fdd712468ab Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 9 May 2013 18:20:47 +0000 Subject: memory corruption in StdMsg + Skype git-svn-id: http://svn.miranda-ng.org/main/trunk@4613 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/msgdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdmsg') 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; } -- cgit v1.2.3