summaryrefslogtreecommitdiff
path: root/protocols/WhatsApp/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-26 20:59:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-26 20:59:45 +0000
commite64e17858c88e0b8302a34cebc02be0019422947 (patch)
treebe3c6510a0f7453c731286c5778547b00d469baa /protocols/WhatsApp/src/proto.cpp
parent0acc48076d8b2148d60d8a2532753c1eb06de276 (diff)
minus another shitty new
git-svn-id: http://svn.miranda-ng.org/main/trunk@11920 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src/proto.cpp')
-rw-r--r--protocols/WhatsApp/src/proto.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/protocols/WhatsApp/src/proto.cpp b/protocols/WhatsApp/src/proto.cpp
index bf54fa6e5f..1a423cc0f8 100644
--- a/protocols/WhatsApp/src/proto.cpp
+++ b/protocols/WhatsApp/src/proto.cpp
@@ -15,8 +15,6 @@ struct SearchParam
WhatsAppProto::WhatsAppProto(const char* proto_name, const TCHAR* username) :
PROTO<WhatsAppProto>(proto_name, username)
{
- this->challenge = new std::vector < unsigned char > ;
-
update_loop_lock_ = CreateEvent(NULL, false, false, NULL);
FMessage::generating_lock = new Mutex();
@@ -51,9 +49,6 @@ WhatsAppProto::WhatsAppProto(const char* proto_name, const TCHAR* username) :
WhatsAppProto::~WhatsAppProto()
{
CloseHandle(update_loop_lock_);
-
- if (this->challenge != NULL)
- delete this->challenge;
}
int WhatsAppProto::OnModulesLoaded(WPARAM wParam, LPARAM lParam)