mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
Within the current ShowTcpTable function logic, tcpTable would be freed twice. The bug was introduced in 0.4.13-dev-579-gb695971c7f
Remove the second tcpTable free and fix coverity #1477187. fix picked from 0.4.15-dev-3338-g0e75fc9240
This commit is contained in:
parent
f4a437308b
commit
5e81087c0b
1 changed files with 0 additions and 1 deletions
|
@ -434,7 +434,6 @@ BOOL ShowTcpTable(VOID)
|
||||||
{
|
{
|
||||||
ConResPrintf(StdErr, IDS_ERROR_TCP_SNAPSHOT);
|
ConResPrintf(StdErr, IDS_ERROR_TCP_SNAPSHOT);
|
||||||
DoFormatMessage(error);
|
DoFormatMessage(error);
|
||||||
HeapFree(GetProcessHeap(), 0, tcpTable);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue