(add_chunk_header): Free st.orig_file_name after calling finish_header()
This commit is contained in:
@@ -1285,10 +1285,10 @@ add_chunk_header ()
|
|||||||
|
|
||||||
block_ordinal = current_block_ordinal ();
|
block_ordinal = current_block_ordinal ();
|
||||||
blk = start_header (&st);
|
blk = start_header (&st);
|
||||||
free (st.orig_file_name);
|
|
||||||
if (!blk)
|
if (!blk)
|
||||||
abort (); /* FIXME */
|
abort (); /* FIXME */
|
||||||
finish_header (&st, blk, block_ordinal);
|
finish_header (&st, blk, block_ordinal);
|
||||||
|
free (st.orig_file_name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user