diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2013-04-20 15:27:52 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2013-04-20 15:27:52 +0000 |
commit | 66e9197603643cc587909fb1bce7402383dbad69 (patch) | |
tree | 43ac141616878a37e9a8fbfe842cb5a51909ffe7 /protocols/Skype/src/skype_services.cpp | |
parent | a346491026d5df1ffe0d41e4881613a47ca6ca47 (diff) |
- temporary commit. may contain non-working code
git-svn-id: http://svn.miranda-ng.org/main/trunk@4483 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_services.cpp')
-rw-r--r-- | protocols/Skype/src/skype_services.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_services.cpp b/protocols/Skype/src/skype_services.cpp index 9b97771d6d..a7703a0e6d 100644 --- a/protocols/Skype/src/skype_services.cpp +++ b/protocols/Skype/src/skype_services.cpp @@ -17,7 +17,7 @@ INT_PTR __cdecl CSkypeProto::GetAvatarInfo(WPARAM, LPARAM lParam) return GAIR_NOAVATAR;
}
- wchar_t *sid = this->GetSettingString(pai->hContact, "sid");
+ wchar_t *sid = ::db_get_wsa(pai->hContact, this->m_szModuleName, SKYPE_SETTINGS_LOGIN);
if (sid)
{
wchar_t *path = this->GetContactAvatarFilePath(pai->hContact);
@@ -27,6 +27,8 @@ INT_PTR __cdecl CSkypeProto::GetAvatarInfo(WPARAM, LPARAM lParam) pai->format = PA_FORMAT_JPEG;
return GAIR_SUCCESS;
}
+
+ ::mir_free(sid);
}
return GAIR_NOAVATAR;
|