소스 검색

(read_and): Initialize current_stat_info
and extended_header at the start of the loop.

Sergey Poznyakoff 21 년 전
부모
커밋
cc8628df0c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/list.c

+ 3 - 0
src/list.c

@@ -76,6 +76,9 @@ read_and (void (*do_something) (void))
   do
     {
       prev_status = status;
+      destroy_stat (&current_stat_info);
+      xheader_destroy (&extended_header);
+      
       status = read_header (false);
       switch (status)
 	{