* src/files.c (output_files): Free the output_obstack.

* src/main.c (main): Call print and print_graph conditionally.
* src/print.c (print): Work unconditionally.
* src/print_graph.c (print_graph): Work unconditionally.
* src/conflicts.c (log_resolution): Output only if verbose_flag.
This commit is contained in:
Akim Demaille
2001-12-17 17:31:10 +00:00
parent 367c7a47d4
commit 64d15509b6
6 changed files with 45 additions and 38 deletions

View File

@@ -489,12 +489,13 @@ output_files (void)
char *temp_name;
obstack_save (&attrs_obstack, attrsfile);
obstack_free (&attrs_obstack, NULL);
temp_name = stringappend (short_base_name, EXT_GUARD_C);
#ifndef MSDOS
temp_name = stringappend (temp_name, src_extension);
#endif /* MSDOS */
obstack_save (&guard_obstack, temp_name);
obstack_free (&guard_obstack, NULL);
}
obstack_free (&guard_obstack, NULL);
obstack_free (&attrs_obstack, NULL);
}