mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[LOGOFF]
* Plug some leaks. CIDs 716284 and 716285. CORE-7975 svn path=/trunk/; revision=65133
This commit is contained in:
parent
a7c09060d2
commit
b1626fe71e
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,7 @@ static void PrintUsage() {
|
|||
|
||||
if (AllocAndLoadString(&lpUsage, GetModuleHandle(NULL), IDS_USAGE)) {
|
||||
_putts(lpUsage);
|
||||
LocalFree(lpUsage);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -90,6 +91,7 @@ BOOL ParseCommandLine(int argc, TCHAR *argv[])
|
|||
//Invalid parameter detected
|
||||
if (AllocAndLoadString(&lpIllegalMsg, GetModuleHandle(NULL), IDS_ILLEGAL_PARAM))
|
||||
_putts(lpIllegalMsg);
|
||||
LocalFree(lpIllegalMsg);
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue