diff options
Diffstat (limited to 'plugins/SendScreenshotPlus')
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp | 3 | ||||
-rw-r--r-- | plugins/SendScreenshotPlus/src/CSendImageShack.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp index 9b975b7a6e..aa4a82abc4 100644 --- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp +++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp @@ -69,8 +69,6 @@ void CSendHost_UploadPie::SendThread(void* obj) if(reply){ if(reply->resultCode>=200 && reply->resultCode<300){ reply->pData[reply->dataLength]='\0';/// make sure its null terminated - - OutputDebugStringA(reply->pData); char* url=reply->pData; do{ char* pos; @@ -87,6 +85,7 @@ void CSendHost_UploadPie::SendThread(void* obj) }while(url); if(url){ mir_free(self->m_URL), self->m_URL=mir_strdup(url); + CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,(LPARAM)reply); self->svcSendMsgExit(url); return; }else{/// check error mess from server TCHAR* err=mir_a2t(reply->pData); diff --git a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp index 9f5d5dce46..9d37604197 100644 --- a/plugins/SendScreenshotPlus/src/CSendImageShack.cpp +++ b/plugins/SendScreenshotPlus/src/CSendImageShack.cpp @@ -90,6 +90,7 @@ void CSendImageShack::SendThread() { }else{ mir_freeAndNil(m_URLthumb); } + CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT,0,(LPARAM)reply); svcSendMsgExit(url); return; }else{/// check error mess from server url=GetHTMLContent(reply->pData,"<error ","</error>"); |