summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/IEView.cpp
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-01-10 15:45:15 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-01-10 15:45:15 +0000
commite5972722ef981be64fe46ca8c07c2c403458e255 (patch)
treeeab0f61b0ed752ddac627b985098d16e4a43bed1 /plugins/IEView/src/IEView.cpp
parent4d43c452c5e06e9833a6e8545e716bc85a770798 (diff)
crash when sending or receiving 50+ smileys fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/IEView.cpp')
-rw-r--r--plugins/IEView/src/IEView.cpp2
1 files changed, 1 insertions, 1 deletions
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();