]> git.meshlink.io Git - meshlink/commitdiff
Fix potential double fclose().
authorGuus Sliepen <guus@meshlink.io>
Thu, 26 Sep 2019 18:50:11 +0000 (20:50 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 26 Sep 2019 18:50:11 +0000 (20:50 +0200)
We were calling fclose() inside config_read_file(), which never called
fopen() itself. It is the caller's responsibility to close the file on
error. Also fix two error cases where the caller forgot to close fclose().


No differences found