From e5972722ef981be64fe46ca8c07c2c403458e255 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Sat, 10 Jan 2015 15:45:15 +0000 Subject: crash when sending or receiving 50+ smileys fixed git-svn-id: http://svn.miranda-ng.org/main/trunk@11820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/IEView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/IEView/src/IEView.cpp b/plugins/IEView/src/IEView.cpp index 6e86e1ab30..8959771b86 100644 --- a/plugins/IEView/src/IEView.cpp +++ b/plugins/IEView/src/IEView.cpp @@ -909,7 +909,7 @@ void IEView::write(const wchar_t *text) variant->bstrVal = bstr = SysAllocString(text); SafeArrayUnaccessData(safe_array); document->write(safe_array); - SysFreeString(bstr); + //SysFreeString(bstr); -> SafeArrayDestroy should be enough SafeArrayDestroy(safe_array); } document->Release(); -- cgit v1.2.3