From 6809d65a6cfe7481e0975c1d7e8846960c8c4cc5 Mon Sep 17 00:00:00 2001
From: George Hazan <ghazan@miranda.im>
Date: Tue, 16 May 2017 19:17:54 +0300
Subject: fix for double memory deletion in Skype (potential crash)

---
 protocols/SkypeWeb/src/skype_oauth.cpp | 1 -
 1 file changed, 1 deletion(-)

(limited to 'protocols/SkypeWeb')

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))
-- 
cgit v1.2.3