summaryrefslogtreecommitdiff
path: root/plugins/WhoUsesMyFiles/src/list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhoUsesMyFiles/src/list.cpp')
-rw-r--r--plugins/WhoUsesMyFiles/src/list.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/WhoUsesMyFiles/src/list.cpp b/plugins/WhoUsesMyFiles/src/list.cpp
index 6044021819..cbc36318cc 100644
--- a/plugins/WhoUsesMyFiles/src/list.cpp
+++ b/plugins/WhoUsesMyFiles/src/list.cpp
@@ -9,10 +9,9 @@ PWumf new_wumf( DWORD dwID,
DWORD dwPerm,
DWORD dwAttr)
{
- PWumf w;
//TCHAR szID[10];
- w = (PWumf)malloc(sizeof(Wumf));
+ PWumf w = (PWumf)malloc(sizeof(Wumf));
if(!w)return NULL;
//#define SCPY(X) if(X){w->X = (LPTSTR)malloc(1+_tcslen(X));if(!w->X)return NULL;_tcscpy(w->X, X);} else { w->X = NULL;}