From 30fa7c6549fa7fa5195f3348f7d9197fb8fe928d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 6 Apr 2013 19:43:42 +0000 Subject: same problem in another place git-svn-id: http://svn.miranda-ng.org/main/trunk@4349 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEView/src/HTMLBuilder.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/IEView/src/HTMLBuilder.cpp') 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(getRealProto(hContact))); } void HTMLBuilder::setLastIEViewEvent(IEVIEWEVENT *event) -- cgit v1.2.3