summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendEmail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendEmail.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendEmail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendEmail.cpp b/plugins/SendScreenshotPlus/src/CSendEmail.cpp
index 77d21ad332..968dcb0d5c 100644
--- a/plugins/SendScreenshotPlus/src/CSendEmail.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendEmail.cpp
@@ -53,10 +53,10 @@ CSendEmail::~CSendEmail(){
int CSendEmail::Send()
{
if(!m_hContact) return 1;
- mir_freeAndNil(m_pszFileName);
+ mir_free(m_pszFileName);
m_pszFileName = GetFileNameA(m_pszFile);
- mir_freeAndNil(m_pszFileA);
+ mir_free(m_pszFileA);
m_pszFileA = mir_t2a(m_pszFile);