[PATCH] iphlpapi: Fix FILE leak in get_ipv6_addr_scope_table() (Coverity).
11 Sep
2018
11 Sep
'18
11:01 a.m.
Signed-off-by: Józef Kucia <jkucia(a)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
2740
Age (days ago)
2740
Last active (days ago)
0 comments
1 participants
participants (1)
-
Józef Kucia