summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/HTMLBuilder.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-06 19:43:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-06 19:43:42 +0000
commit30fa7c6549fa7fa5195f3348f7d9197fb8fe928d (patch)
tree001e458770a61fdacef26fc57170616f6baef7de /plugins/IEView/src/HTMLBuilder.cpp
parent8c63b97ea59b9a9649f13ddc1392fbc45c3ab548 (diff)
same problem in another place
git-svn-id: http://svn.miranda-ng.org/main/trunk@4349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/HTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/HTMLBuilder.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp
index 435c4cecf5..0007feb8ab 100644
--- a/plugins/IEView/src/HTMLBuilder.cpp
+++ b/plugins/IEView/src/HTMLBuilder.cpp
@@ -477,10 +477,7 @@ ProtocolSettings* HTMLBuilder::getChatProtocolSettings(const char *protocolName)
ProtocolSettings* HTMLBuilder::getChatProtocolSettings(HANDLE hContact)
{
- char *szRealProto = getRealProto(hContact);
- ProtocolSettings *protoSettings = getChatProtocolSettings(szRealProto);
- delete szRealProto;
- return protoSettings;
+ return getChatProtocolSettings( mir_ptr<char>(getRealProto(hContact)));
}
void HTMLBuilder::setLastIEViewEvent(IEVIEWEVENT *event)