From 588f444efea17a7746d07fbd39510ec842eb4137 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 19 Feb 2006 20:36:31 +0000 Subject: [PATCH] (add_chunk_header): Free st.orig_file_name after calling finish_header() --- src/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.44.0