iphlpapi: Close the socket in IcmpCloseHandle.
This commit is contained in:
parent
cd3cdf6226
commit
7165e22d72
|
@ -187,7 +187,7 @@ BOOL WINAPI IcmpCloseHandle(HANDLE IcmpHandle)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
shutdown(icp->sid,2);
|
||||
close( icp->sid );
|
||||
HeapFree(GetProcessHeap (), 0, icp);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue