summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr
diff options
context:
space:
mode:
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,...)