summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-06 16:07:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-06 16:07:39 +0000
commitf94f16702b87c3c876096723f8e6ad94d63847aa (patch)
treeb0cd74c1351429b4748474557aabfd56c2150323 /protocols/Skype/src/skype_proto.h
parent27d17244cb0af6f8b04e2b6725d504c336dabb07 (diff)
more mem leaks
git-svn-id: http://svn.miranda-ng.org/main/trunk@4593 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.h')
-rw-r--r--protocols/Skype/src/skype_proto.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Skype/src/skype_proto.h b/protocols/Skype/src/skype_proto.h
index 8a610b3da0..3e008be7f6 100644
--- a/protocols/Skype/src/skype_proto.h
+++ b/protocols/Skype/src/skype_proto.h
@@ -65,8 +65,8 @@ struct PasswordRequestBoxParam
~PasswordRequestBoxParam()
{
- if (login) ::mir_free(login);
- if (password) ::mir_free(password);
+ ::mir_free(login);
+ ::mir_free(password);
}
};
@@ -79,8 +79,8 @@ struct PasswordChangeBoxParam
~PasswordChangeBoxParam()
{
- if (password) ::mir_free(password);
- if (password2) ::mir_free(password2);
+ ::mir_free(password);
+ ::mir_free(password2);
}
};