(add_chunk_header): Free st.orig_file_name after calling finish_header()

This commit is contained in:
Sergey Poznyakoff
2006-02-19 20:36:31 +00:00
parent b4051cb07c
commit 588f444efe

View File

@@ -1285,10 +1285,10 @@ add_chunk_header ()
block_ordinal = current_block_ordinal ();
blk = start_header (&st);
free (st.orig_file_name);
if (!blk)
abort (); /* FIXME */
finish_header (&st, blk, block_ordinal);
free (st.orig_file_name);
}
}