[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * info/infomap.c (fetch_user_maps): fix resource
From: |
Gavin D. Smith |
Subject: |
branch master updated: * info/infomap.c (fetch_user_maps): fix resource leak |
Date: |
Tue, 15 Oct 2024 13:39:52 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 3ec981ecf7 * info/infomap.c (fetch_user_maps): fix resource leak
3ec981ecf7 is described below
commit 3ec981ecf7a94fa1d1a235f6b29bf57d59db3f4c
Author: Vitezslav Crhonek <vcrhonek@redhat.com>
AuthorDate: Tue Oct 15 18:38:23 2024 +0100
* info/infomap.c (fetch_user_maps): fix resource leak
---
ChangeLog | 4 ++++
info/infomap.c | 1 +
2 files changed, 5 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 71d29f06cd..868fd3c335 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-10-15 Vitezslav Crhonek <vcrhonek@redhat.com>
+
+ * info/infomap.c (fetch_user_maps): fix resource leak
+
2024-10-15 Vitezslav Crhonek <vcrhonek@redhat.com>
* info/variables.c (read_variable_name): fix memory leak
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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * info/infomap.c (fetch_user_maps): fix resource leak,
Gavin D. Smith <=