summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-09-04 18:54:25 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-09-04 18:54:25 +0300
commitfa38c0bf4a5fec438cd5d614c69b444e01cc1e3e (patch)
treebc6681520220562eede0e0f7185b3d90f1fca587 /plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
parenta5ab3760f487dfd5c34ff561a472bda29671f2a4 (diff)
old ugly C-like calls replaced with CMStringA
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
index 66fd652fbf..d18d1a3e03 100644
--- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
@@ -89,7 +89,7 @@ void CSendHost_UploadPie::SendThread(void* obj)
} while (url);
if (url) {
- mir_free(self->m_URL), self->m_URL = mir_strdup(url);
+ self->m_URL = url;
Netlib_FreeHttpRequest(reply);
self->svcSendMsgExit(url); return;
}