iphlpapi: Return early on error.
commit9521640aa7acf42352eb91c9638b64e6b1e308ae
authorHuw Davies <huw@codeweavers.com>
Wed, 25 Aug 2021 06:37:06 +0000 (25 07:37 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 Aug 2021 08:40:30 +0000 (25 10:40 +0200)
tree29945bc3507f27e436c016a67baef8130ef387e8
parent2fd0e56a9f0c9b456ab3197485cc32b0dccbd54b
iphlpapi: Return early on error.

This prevents using err uninitialized.  Spotted by Fabian Maurer.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51655
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/iphlpapi/iphlpapi_main.c