iphlapi: Fix some leaks (coverity)

Alexandre Julliard julliard at winehq.org
Tue Nov 6 08:05:37 CST 2012


Frédéric Delanoy <frederic.delanoy at gmail.com> writes:

> @@ -1520,8 +1521,8 @@ DWORD WINAPI GetIpAddrTable(PMIB_IPADDRTABLE pIpAddrTable, PULONG pdwSize, BOOL
>             sizeof(MIB_IPADDRROW), IpAddrTableSorter);
>          ret = NO_ERROR;
>        }
> -      HeapFree(GetProcessHeap(), 0, table);
>      }
> +    HeapFree(GetProcessHeap(), 0, table);
>    }

That's not the correct fix.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list