summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-06 20:06:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-06 20:06:49 +0000
commit4d52061bac77ed58941fc614736719bbb18620ba (patch)
treeda0c91e7cf7498dd3f45d9894c9a8bc88ac264f7 /protocols/Skype/src/skype_proto.cpp
parent65a53b8ae95bf7adb160b4e7cb10efc342fa75d0 (diff)
more cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp
index 7a64df8adf..b4890011ef 100644
--- a/protocols/Skype/src/skype_proto.cpp
+++ b/protocols/Skype/src/skype_proto.cpp
@@ -1,9 +1,11 @@
#include "skype.h"
+#include "skype_chat.h"
CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) :
PROTO<CSkypeProto>(protoName, userName),
Skype(1),
- skypeKitPort(8963)
+ skypeKitPort(8963),
+ chatRooms(5)
{
this->rememberPassword = false;
@@ -42,6 +44,8 @@ CSkypeProto::~CSkypeProto()
::mir_free(this->password);
this->password = NULL;
}
+
+ this->chatRooms.destroy();
}
HANDLE __cdecl CSkypeProto::AddToList(int flags, PROTOSEARCHRESULT* psr)