diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_contacts.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_contacts.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_contacts.cpp b/protocols/SkypeWeb/src/skype_contacts.cpp index 68b354d40c..ba71ebc14f 100644 --- a/protocols/SkypeWeb/src/skype_contacts.cpp +++ b/protocols/SkypeWeb/src/skype_contacts.cpp @@ -295,19 +295,17 @@ void CSkypeProto::LoadContactList(const NETLIBHTTPREQUEST *response) {
LIST<char> users(1);
for (; i < skypenames.getCount() && users.getCount() < 25; i++)
- {
users.insert(skypenames[i]);
- }
PushRequest(new GetContactsInfoRequest(token, users), &CSkypeProto::LoadContactsInfo);
- for (int j = 0; i < users.getCount(); j++)
+ for (int j = 0; j < users.getCount(); j++)
mir_free(users[j]);
users.destroy();
}
while(i < skypenames.getCount());
- for (int i = 0; i < skypenames.getCount(); i++)
+ for (i = 0; i < skypenames.getCount(); i++)
mir_free(skypenames[i]);
skypenames.destroy();
}
|