On Tue, Oct 15, 2024 at 12:36:59PM +0200, Vitezslav Crhonek wrote:
> From 0f3a45b5b48db00e9d1d8ab6c61a4e7502966bd1 Mon Sep 17 00:00:00 2001
> From: Vitezslav Crhonek <[email protected]>
> Date: Tue, 15 Oct 2024 12:17:32 +0200
> Subject: [PATCH 6/7] * info/infomap.c: fix resource leak
> 
> ---
>  info/infomap.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/info/infomap.c b/info/infomap.c
> index 16e2e5ee60..fb968209f7 100644
> --- a/info/infomap.c
> +++ b/info/infomap.c
> @@ -704,6 +704,7 @@ fetch_user_maps (char *init_file)
>    compile (inf, filename, &sup_info, &sup_ea);
>  
>    free (filename);
> +  fclose (inf);
>    return 1;
>  }
>  

Thanks, applied.

Reply via email to