iphlpapi: Clean up memory allocation.
commit5cd6b34259f6da65bd221a069e9fa2aff592979d
authorJuan Lang <juan_lang@yahoo.com>
Tue, 24 Jan 2006 11:18:50 +0000 (24 12:18 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 24 Jan 2006 11:18:50 +0000 (24 12:18 +0100)
tree6bb2236b0913234d6017b302817ad9e6437850a0
parent2d4edc3b3d1d68f010f978c2bdf8351b7777ee2b
iphlpapi: Clean up memory allocation.
- pass heap to allocate from directly to helper functions, instead of
  unnecessarily copying returned data
- use public types rather than internal ones
- make sure GetBestRoute doesn't return bogus matches
dlls/iphlpapi/ifenum.c
dlls/iphlpapi/ifenum.h
dlls/iphlpapi/iphlpapi_main.c
dlls/iphlpapi/ipstats.c
dlls/iphlpapi/ipstats.h