m4-commit@gnu.org
[Top] [All Lists]

Changes to m4/src/Attic/output.c,v [branch-1_4]

Subject: Changes to m4/src/Attic/output.c,v [branch-1_4]
From: Eric Blake
Date: Wed, 15 Nov 2006 00:44:09 +0000
CVSROOT:        /sources/m4
Module name:    m4
Branch:         branch-1_4
Changes by:     Eric Blake <ericb>      06/11/15 00:44:08

Index: src/output.c
===================================================================
RCS file: /sources/m4/m4/src/Attic/output.c,v
retrieving revision 1.1.1.1.2.17
retrieving revision 1.1.1.1.2.18
diff -u -b -r1.1.1.1.2.17 -r1.1.1.1.2.18
--- src/output.c        13 Nov 2006 23:25:08 -0000      1.1.1.1.2.17
+++ src/output.c        15 Nov 2006 00:44:08 -0000      1.1.1.1.2.18
@@ -173,6 +173,7 @@
              fail = true;
            }
        }
+      gl_oset_iterator_free (&iter);
     }
 
   /* Clean up the temporary directory.  */
@@ -192,6 +193,7 @@
     {
       tail = xasprintf ("%s/m4-%d", output_temp_dir->dir_name, INT_MAX);
       buffer = obstack_copy0 (&diversion_storage, tail, strlen (tail));
+      free (tail);
       tail = strrchr (buffer, '-') + 1;
     }
   sprintf (tail, "%d", divnum);
@@ -804,6 +806,7 @@
          last_inserted = diversion->divnum;
        }
     }
+  gl_oset_iterator_free (&iter);
 
   /* Save the active diversion number, if not already.  */
 


<Prev in Thread] Current Thread [Next in Thread>