From 7301569d0e5871bed10788d9cae15f0efaaabf21 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 24 Oct 2015 10:03:14 +0000 Subject: [PATCH] Closing output file pointer of telltoc --read_and_print. Coverity CID 21813. --- libburn/trunk/test/telltoc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libburn/trunk/test/telltoc.c b/libburn/trunk/test/telltoc.c index fdba4486..34c76f77 100644 --- a/libburn/trunk/test/telltoc.c +++ b/libburn/trunk/test/telltoc.c @@ -774,6 +774,8 @@ print_result:; start_sector, sector_count, (int) (total_count / (off_t) sector_size)); + if (raw_fp != NULL) + fclose(raw_fp); return ret; }