texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo update (Mon Sep 24 15:23:01 EDT 2007)


From: Karl Berry
Subject: texinfo update (Mon Sep 24 15:23:01 EDT 2007)
Date: Mon, 24 Sep 2007 15:23:03 -0400

Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.763
retrieving revision 1.764
diff -u -r1.763 -r1.764
--- ChangeLog   24 Sep 2007 18:51:49 -0000      1.763
+++ ChangeLog   24 Sep 2007 19:04:10 -0000      1.764
@@ -1,3 +1,8 @@
+2007-09-24  Karl Berry  <address@hidden>
+
+       * makeinfo/makeinfo.c (convert_from_file): free `input_filename' leak.
+       Reported by Stephen Compall, 21 Sep 2007 20:25:54.
+
 2007-09-21  Stephen Compall <address@hidden>  (tiny change)
 
        * makeinfo/makeinfo.c (convert_from_file): excise code testing
Index: makeinfo/makeinfo.c
===================================================================
RCS file: /sources/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -r1.110 -r1.111
--- makeinfo/makeinfo.c 24 Sep 2007 18:51:49 -0000      1.110
+++ makeinfo/makeinfo.c 24 Sep 2007 19:04:10 -0000      1.111
@@ -1,5 +1,5 @@
 /* makeinfo -- convert Texinfo source into other formats.
-   $Id: makeinfo.c,v 1.110 2007/09/24 18:51:49 karl Exp $
+   $Id: makeinfo.c,v 1.111 2007/09/24 19:04:10 karl Exp $
 
    Copyright (C) 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
@@ -1390,7 +1390,11 @@
       return;
     }
 
-  /* Set the global recording the current file name.  */
+  /* `find_and_load' (when successful) clobbers this global with new
+     memory.  We're about to reset it, so may as well free first.  */
+  free (input_filename);
+  
+  /* Set the current filename.  */
   input_filename = filename;
 
   /* Do the main conversion.  */
P ChangeLog
P makeinfo/makeinfo.c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]