|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] [PATCH 5/5] mapfile: Add several missing fclose calls |
Date: | Mon, 05 Aug 2019 18:54:23 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 |
Rosen Penev wrote:
Found with clang-analyzer.
There is no need to close the mapfile just before exiting with error status. It is open for reading and will be closed on exit anyway.
[Prev in Thread] | Current Thread | [Next in Thread] |