From 53a5f9b6245f03b83e28e579dd937bc1e02e01f9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 6 Jun 2012 20:01:54 +0000 Subject: removed not needed mir_free git-svn-id: http://svn.miranda-ng.org/main/trunk@335 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/dde.cpp | 2 -- plugins/AssocMgr/utils.cpp | 1 - 2 files changed, 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,...) -- cgit v1.2.3