Commit 48843231 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

iphlpapi: Remove a redundant NULL check before HeapFree().

parent c743b72d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment