Józef Kucia : iphlpapi: Fix FILE leak in get_ipv6_addr_scope_table() (Coverity).
Module: wine Branch: master Commit: be3a3ad825a8b64e585630b0e30de7165be5b6cb URL: https://source.winehq.org/git/wine.git/?a=commit;h=be3a3ad825a8b64e585630b0e... Author: Józef Kucia <jkucia(a)codeweavers.com> Date: Tue Sep 11 13:01:23 2018 +0200 iphlpapi: Fix FILE leak in get_ipv6_addr_scope_table() (Coverity). Signed-off-by: Józef Kucia <jkucia(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/iphlpapi/ipstats.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c index 994e1fe..84d28ee 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" );
participants (1)
-
Alexandre Julliard