summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-06-06 20:01:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-06-06 20:01:54 +0000
commit53a5f9b6245f03b83e28e579dd937bc1e02e01f9 (patch)
tree87adae447be03d3c2b7b6f12440bbe8bdea060e7 /plugins/AssocMgr
parente70263fa09e2b16cd0ab8d45c6cf16e5b9788944 (diff)
removed not needed mir_free
git-svn-id: http://svn.miranda-ng.org/main/trunk@335 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r--plugins/AssocMgr/dde.cpp2
-rw-r--r--plugins/AssocMgr/utils.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/plugins/AssocMgr/dde.cpp b/plugins/AssocMgr/dde.cpp
index 763002aa67..d10043f22e 100644
--- a/plugins/AssocMgr/dde.cpp
+++ b/plugins/AssocMgr/dde.cpp
@@ -43,7 +43,6 @@ static void __stdcall FileActionAsync(void *param)
ShowInfoMessage(NIIF_ERROR,Translate("Miranda IM could not open file"),Translate("Miranda IM was not able to open \""TCHAR_STR_PARAM"\".\n\nThe file could not be processed."),pszFilePath);
}
mir_free(pszFilePath); /* async param */
- mir_free(param);
}
// pszUrl needs to be allocated using mir_alloc()
@@ -60,7 +59,6 @@ static void __stdcall UrlActionAsync(void *param)
ShowInfoMessage(NIIF_ERROR,Translate("Miranda IM could not open URL"),Translate("Miranda IM was not able to open \""TCHAR_STR_PARAM"\".\n\nThe given URL is invalid and can not be parsed."),pszUrl);
}
mir_free(pszUrl); /* async param */
- mir_free(param);
}
/************************* Conversation ***************************/
diff --git a/plugins/AssocMgr/utils.cpp b/plugins/AssocMgr/utils.cpp
index cfc79ba50e..08f42b9d3b 100644
--- a/plugins/AssocMgr/utils.cpp
+++ b/plugins/AssocMgr/utils.cpp
@@ -149,7 +149,6 @@ static void MessageBoxIndirectFree(void *param)
mir_free((char*)mbp->lpszCaption); /* does NULL check */
mir_free((char*)mbp->lpszText); /* does NULL check */
mir_free(mbp);
- mir_free(param);
}
void ShowInfoMessage(BYTE flags,const char *pszTitle,const char *pszTextFmt,...)