diff options
Diffstat (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index e60131b490..3af754abab 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -86,9 +86,8 @@ void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response) db_event_get(dbevent, &dbei);
time_t dbEventTimestamp = dbei.timestamp;
- ptrA dbMsgText((char *)mir_alloc(dbei.cbBlob));
- mir_strcpy(dbMsgText, (char*)dbei.pBlob);
+ ptrA dbMsgText(NEWSTR_ALLOCA((char *)dbei.pBlob));
TCHAR time[64];
_locale_t locale = _create_locale(LC_ALL, "");
|