diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index d3873a97c0..78798c1432 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -311,11 +311,10 @@ void CSkypeProto::ProcessContactRecv(MCONTACT hContact, time_t timestamp, const pre.lParam = (LPARAM)b;
ProtoChainRecv(hContact, PSR_CONTACTS, 0, (LPARAM)&pre);
- for (nCount = 0; nCount < *((PDWORD)b); nCount++)
+ for (DWORD i = 0; i < *((PDWORD)b); i++)
{
- mir_free(psr[nCount]->id.t);
- //mir_free(psr[nCount]->nick.t);
- mir_free(psr[nCount]);
+ mir_free(psr[i]->id.t);
+ mir_free(psr[i]);
}
mir_free(b);
}
|