[PATCH] iphlpapi: Fix FILE leak in get_ipv6_addr_scope_table() (Coverity).
Józef Kucia
jkucia at codeweavers.com
Tue Sep 11 06:01:23 CDT 2018
Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
dlls/iphlpapi/ipstats.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c
index 994e1fe1272c..84d28ee4e67b 100644
--- a/dlls/iphlpapi/ipstats.c
+++ b/dlls/iphlpapi/ipstats.c
@@ -2686,6 +2686,8 @@ static struct ipv6_addr_scope *get_ipv6_addr_scope_table(unsigned int *size)
entry->scope = htons(scope);
}
+
+ fclose(fp);
}
#else
FIXME( "not implemented\n" );
--
2.16.4
More information about the wine-devel
mailing list