asn1: Close _files output last

This commit is contained in:
Nicolas Williams
2022-01-05 17:50:00 -06:00
parent 9427796f1a
commit 01b1916ec2
2 changed files with 14 additions and 6 deletions

View File

@@ -316,12 +316,12 @@ main(int argc, char **argv)
exit(1);
if (!original_order)
generate_types();
close_generate ();
if (argc != optidx)
fclose(yyin);
if (one_code_file)
close_codefile();
close_generate();
if (arg) {
for (i = 1; i < len; i++)