diff options
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 18a8483897..c5014171b4 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -5,7 +5,7 @@ CSkypeProto::CSkypeProto(const char* protoName, const TCHAR* userName) ProtoConstructor(this, protoName, userName);
//this->login = NULL;
- this->password = NULL;
+ //this->password = NULL;
this->rememberPassword = false;
this->signin_lock = CreateMutex(0, false, 0);
@@ -27,7 +27,11 @@ CSkypeProto::~CSkypeProto() ::CloseHandle(this->signin_lock);
::mir_free(this->login);
- ::mir_free(this->password);
+ if (this->password)
+ {
+ ::mir_free(this->password);
+ this->password = NULL;
+ }
ProtoDestructor(this);
}
|