mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[LOGOFF]
* Plug some leaks. CIDs 716284 and 716285. CORE-7975 svn path=/trunk/; revision=65133
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user