[WHOAMI] fix a memory leak CID 1322119

svn path=/trunk/; revision=69011
This commit is contained in:
Christoph von Wittich 2015-09-04 20:15:01 +00:00
parent 5866c92e8d
commit c80d062582

View file

@ -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)