summaryrefslogtreecommitdiff
path: root/plugins/AssocMgr
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2014-12-19 13:47:01 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2014-12-19 13:47:01 +0000
commitfe3e180e32fe8461031e05a9d59914707d1ad8f6 (patch)
treed87a073b8c8e21c570dd048ae2300fd9b84d85e5 /plugins/AssocMgr
parent8a84535ef84918d3860d89d3be500bcb4b7c9692 (diff)
memleak fix (by Mataes)
git-svn-id: http://svn.miranda-ng.org/main/trunk@11530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r--plugins/AssocMgr/src/dde.cpp2
1 files changed, 1 insertions, 1 deletions
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. */