mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 00:41:36 +00:00
[WHOAMI] fix a memory leak CID 1322119
svn path=/trunk/; revision=69011
This commit is contained in:
parent
5866c92e8d
commit
c80d062582
|
@ -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