summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-05-16 19:17:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-05-16 19:17:54 +0300
commit6809d65a6cfe7481e0975c1d7e8846960c8c4cc5 (patch)
tree04555a2c21f3aa25353b905acd9a2e7f2dd6a40e /protocols
parent117a69fd49a24b8d2d56b4368569a71e90972ec6 (diff)
fix for double memory deletion in Skype (potential crash)
Diffstat (limited to 'protocols')
-rw-r--r--protocols/SkypeWeb/src/skype_oauth.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_oauth.cpp b/protocols/SkypeWeb/src/skype_oauth.cpp
index 9926402232..f09a5674bb 100644
--- a/protocols/SkypeWeb/src/skype_oauth.cpp
+++ b/protocols/SkypeWeb/src/skype_oauth.cpp
@@ -71,7 +71,6 @@ void CSkypeProto::OnOAuthAuthorize(const NETLIBHTTPREQUEST *response)
std::regex regex;
std::smatch match;
std::string content = response->pData;
- ptrA szContent(response->pData);
regex = "<input type=\"hidden\" name=\"t\" id=\"t\" value=\"(.+?)\">";
if (!std::regex_search(content, match, regex))