diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-07 13:30:40 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-02-07 13:30:40 +0000 |
commit | 9dc9fcaab61b879de0b1fd6e4961032c31887c3d (patch) | |
tree | 9c74db86bf3eff8f4e2aada7a6fda6c251b5e7cf /protocols/SkypeWeb/src/skype_events.cpp | |
parent | f6cffadc110a89c8ff6b533f20d9a01e55af0ee6 (diff) |
SkypeWeb: forgotten dbtypes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_events.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_events.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/SkypeWeb/src/skype_events.cpp b/protocols/SkypeWeb/src/skype_events.cpp index f48cbb1e9f..b0e4466ad6 100644 --- a/protocols/SkypeWeb/src/skype_events.cpp +++ b/protocols/SkypeWeb/src/skype_events.cpp @@ -73,11 +73,8 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) if (xmlDuration != NULL)
{
callDuration = _ttol(xmlGetText(xmlDuration));
- xmlDestroyNode(xmlDuration);
- xmlDestroyNode(xmlPart);
break;
}
- xmlDestroyNode(xmlPart);
}
}
@@ -124,7 +121,6 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) szText.AppendFormat(Translate("File transfer:\n\tFile name: %s \n\tSize: %lld bytes \n"), fileName, fileSize);
}
- xmlDestroyNode(xmlNode);
}
}
xmlDestroyNode(xml);
@@ -146,8 +142,7 @@ INT_PTR CSkypeProto::GetEventText(WPARAM, LPARAM lParam) HXML xmlA = xmlGetChildByPath(xml, _T("a"), 0);
if (xmlA != NULL)
{
- szText += _T2A(xmlGetAttrValue(xmlA, _T("href")));
- xmlDestroyNode(xmlA);
+ szText += T2Utf(xmlGetAttrValue(xmlA, _T("href")));
}
xmlDestroyNode(xml);
}
|