[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[8019] avoid leaking memory
From: |
gavinsmith0123 |
Subject: |
[8019] avoid leaking memory |
Date: |
Tue, 7 Aug 2018 13:51:51 -0400 (EDT) |
Revision: 8019
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8019
Author: gavin
Date: 2018-08-07 13:51:50 -0400 (Tue, 07 Aug 2018)
Log Message:
-----------
avoid leaking memory
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/info.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2018-08-07 15:58:43 UTC (rev 8018)
+++ trunk/ChangeLog 2018-08-07 17:51:50 UTC (rev 8019)
@@ -1,3 +1,8 @@
+2018-08-07 Vitezslav Crhonek <address@hidden> (tiny change)
+
+ * info/info.c (get_initial_file) <man page fallback>: Avoid
+ leaking memory.
+
2018-08-07 Gavin Smith <address@hidden>
* info/t/Init-test.inc (run_ginfo, timeout_test): Record process
Modified: trunk/info/info.c
===================================================================
--- trunk/info/info.c 2018-08-07 15:58:43 UTC (rev 8018)
+++ trunk/info/info.c 2018-08-07 17:51:50 UTC (rev 8019)
@@ -3,7 +3,7 @@
Copyright 1993, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015,
- 2016, 2017 Free Software Foundation, Inc.
+ 2016, 2017, 2018 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -295,6 +295,7 @@
ref_index, ref_list, ref_slots, 2);
initial_file = MANPAGE_FILE_BUFFER_NAME;
+ free (man_node);
return;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [8019] avoid leaking memory,
gavinsmith0123 <=