From fe3e180e32fe8461031e05a9d59914707d1ad8f6 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 19 Dec 2014 13:47:01 +0000 Subject: memleak fix (by Mataes) git-svn-id: http://svn.miranda-ng.org/main/trunk@11530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AssocMgr/src/dde.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AssocMgr') diff --git a/plugins/AssocMgr/src/dde.cpp b/plugins/AssocMgr/src/dde.cpp index f7ede6c5e7..5ffc17add7 100644 --- a/plugins/AssocMgr/src/dde.cpp +++ b/plugins/AssocMgr/src/dde.cpp @@ -116,7 +116,7 @@ static LRESULT CALLBACK DdeMessageWindow(HWND hwnd,UINT msg,WPARAM wParam,LPARAM if(pszCommand!=NULL) { TCHAR *pszAction,*pszArg; pszAction=GetExecuteParam(&pszCommand); - pszArg=mir_tstrdup(GetExecuteParam(&pszCommand)); + pszArg=GetExecuteParam(&pszCommand); if(pszArg!=NULL) { /* we are inside miranda here, we make it async so the shell does * not timeout regardless what the plugins try to do. */ -- cgit v1.2.3