diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp index 00e5555ef8..e4f503cd08 100644 --- a/protocols/SkypeWeb/src/skype_polling.cpp +++ b/protocols/SkypeWeb/src/skype_polling.cpp @@ -40,10 +40,9 @@ void CSkypeProto::PollingThread(void*) {
if (response->pData)
{
- void *pData = mir_alloc(response->dataLength);
+ char *pData = mir_strdup(response->pData);
if (pData != NULL)
{
- memcpy(pData, response->pData, response->dataLength);
ForkThread(&CSkypeProto::ParsePollData, pData);
}
else
|