iphlpapi: Remove a redundant NULL check before HeapFree().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c743b72d25
commit
4884323172
|
@ -2787,8 +2787,7 @@ DWORD build_udp6_table( UDP_TABLE_CLASS class, void **tablep, BOOL order, HANDLE
|
|||
break;
|
||||
}
|
||||
HeapFree( GetProcessHeap(), 0, map );
|
||||
if (addr_scopes)
|
||||
HeapFree( GetProcessHeap(), 0, addr_scopes );
|
||||
HeapFree( GetProcessHeap(), 0, addr_scopes );
|
||||
fclose( fp );
|
||||
}
|
||||
else ret = ERROR_NOT_SUPPORTED;
|
||||
|
|
Loading…
Reference in New Issue