summaryrefslogtreecommitdiff
path: root/plugins/Variables
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables')
-rw-r--r--plugins/Variables/src/tokenregister.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Variables/src/tokenregister.cpp b/plugins/Variables/src/tokenregister.cpp
index 7a7bbcf95f..5da24aed01 100644
--- a/plugins/Variables/src/tokenregister.cpp
+++ b/plugins/Variables/src/tokenregister.cpp
@@ -237,12 +237,9 @@ TCHAR *parseFromRegister(ARGUMENTSINFO *ai)
else if (trCopy.szCleanupService != NULL)
CallService( trCopy.szCleanupService, 0, (LPARAM)callRes );
}
- if (trCopy.flags & TRF_FREEMEM ) {
- if (trCopy.memType == TR_MEM_MIRANDA )
+ if (trCopy.flags & TRF_FREEMEM)
+ if (trCopy.memType == TR_MEM_MIRANDA)
mir_free(( void* )callRes );
-// else if (trCopy.memType == TR_MEM_VARIABLES )
-// mir_free((void *)callRes);
- }
}
LeaveCriticalSection(&csRegister);
return res;