From: Sergey Poznyakoff Date: Sun, 19 Feb 2006 20:36:31 +0000 (+0000) Subject: (add_chunk_header): Free st.orig_file_name after calling finish_header() X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=588f444efea17a7746d07fbd39510ec842eb4137;p=chaz%2Ftar (add_chunk_header): Free st.orig_file_name after calling finish_header() --- diff --git a/src/buffer.c b/src/buffer.c index 1b36051..9b6a11a 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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); } }