mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[WHOAMI] fix a memory leak CID 1322119
svn path=/trunk/; revision=69011
This commit is contained in:
parent
5866c92e8d
commit
c80d062582
1 changed files with 3 additions and 0 deletions
|
@ -421,6 +421,9 @@ void WhoamiPrintTable(WhoamiTable *pTable)
|
|||
WhoamiFree(pTable->Content[i * pTable->Cols + j]);
|
||||
|
||||
WhoamiFree(pTable);
|
||||
|
||||
if (PrintFormat != csv)
|
||||
HeapFree(GetProcessHeap(), 0, ColLength);
|
||||
}
|
||||
|
||||
int WhoamiLogonId(void)
|
||||
|
|
Loading…
Reference in a new issue