[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Wed, 13 Sep 2023 13:09:57 -0400 (EDT) |
branch: master
commit 121516cdbb5b3bdd9093f9a727dfbcc986fd147f
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Sep 13 17:45:08 2023 +0100
* install-info/install-info.c (open_possibly_compressed_file):
Free string passed to popen.
---
ChangeLog | 5 +++++
install-info/install-info.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index b2bbb4dc79..82e3b1950a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-09-13 Gavin Smith <gavinsmith0123@gmail.com>
+
+ * install-info/install-info.c (open_possibly_compressed_file):
+ Free string passed to popen.
+
2023-09-13 Gavin Smith <gavinsmith0123@gmail.com>
* install-info/install-info.c (reformat_new_entries): Free
diff --git a/install-info/install-info.c b/install-info/install-info.c
index 6e29032148..c97c152905 100644
--- a/install-info/install-info.c
+++ b/install-info/install-info.c
@@ -839,6 +839,7 @@ determine_file_type:
*opened_filename = command;
return 0;
}
+ free (command);
}
else
{