summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.h
diff options
context:
space:
mode:
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);
}
};