diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-17 09:00:30 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-04-17 09:00:30 +0000 |
commit | 374784a1370ad0c375126227134367c7775bb515 (patch) | |
tree | 5cfd4dd294a09ba4d08d1a20d204dea124498a26 /protocols/SkypeWeb/src/requests/asm/files.h | |
parent | 718261d4eb8c2d824ed97e387a8f07eea797aa1b (diff) |
SkypeWeb: memleaks fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@16680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/asm/files.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/asm/files.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/asm/files.h b/protocols/SkypeWeb/src/requests/asm/files.h index f9846c23b3..f16052150d 100644 --- a/protocols/SkypeWeb/src/requests/asm/files.h +++ b/protocols/SkypeWeb/src/requests/asm/files.h @@ -8,7 +8,7 @@ public: {
flags &= (~NLHRF_DUMPASTEXT);
Headers
- << CHAR_VALUE("Authorization", CMStringA(::FORMAT, "skype_token %s", li.api.szToken))
+ << FORMAT_VALUE("Authorization", "skype_token %s", li.api.szToken)
<< CHAR_VALUE("Content-Type", "text/json");
JSONNode node, jPermissions, jPermission(JSON_ARRAY);
@@ -30,7 +30,7 @@ public: HttpRequest(REQUEST_PUT, FORMAT, "api.asm.skype.com/v1/objects/%s/content/original", szObject)
{
Headers
- << CHAR_VALUE("Authorization", CMStringA(::FORMAT, "skype_token %s", li.api.szToken))
+ << FORMAT_VALUE("Authorization", "skype_token %s", li.api.szToken)
<< CHAR_VALUE("Content-Type", "application/octet-stream");
pData = (char*)mir_alloc(size);
@@ -40,7 +40,7 @@ public: }
~ASMObjectUploadRequest()
{
- mir_free(pData);
HttpRequest::~HttpRequest();
+ mir_free(pData);
}
};
\ No newline at end of file |