summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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();