From cc8628df0c1b0e6e4acb1b1e797bde9bfb38094e Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 13 Nov 2003 08:46:26 +0000 Subject: [PATCH] (read_and): Initialize current_stat_info and extended_header at the start of the loop. --- src/list.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/list.c b/src/list.c index da71719..d23002b 100644 --- a/src/list.c +++ b/src/list.c @@ -76,6 +76,9 @@ read_and (void (*do_something) (void)) do { prev_status = status; + destroy_stat (¤t_stat_info); + xheader_destroy (&extended_header); + status = read_header (false); switch (status) { -- 2.45.2