]> diplodocus.org Git - nmh/commit
mhbuildsbr.c: Ensure temporary FILE closed regardless of success.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 23 Aug 2017 22:38:50 +0000 (23:38 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 23 Aug 2017 22:38:50 +0000 (23:38 +0100)
commitaad7213c7ebca96dff5f141e0e26a165eba4e6b8
tree55689043db034bef4a1a536f08fed7914bc53165
parent2b60a54adb3b0bf5a9b927708085492b816a6015
mhbuildsbr.c: Ensure temporary FILE closed regardless of success.

If the fopen() succeeded, but the fwrite() failed, then the FILE wasn't
fclose()'d.
uip/mhbuildsbr.c