cppcheck: close files during shutdown
authorDavid Bremner <david@tethera.net>
Sat, 26 Aug 2017 14:41:38 +0000 (11:41 -0300)
committerDavid Bremner <david@tethera.net>
Wed, 30 Aug 2017 10:10:07 +0000 (07:10 -0300)
commitc960bb4686429b220419f6d45ede920d6c14c3c5
tree75068b97425e4f8b27f5e8d9db2b5cec07968f1f
parentaf64530d3f93dd1c379ad3ba93608ca5ad700598
cppcheck: close files during shutdown

Fix the following cppcheck errors:

    notmuch-count.c:207: error: Resource leak: input
    notmuch-tag.c:238: error: Resource leak: input

We know that the program is shutting down here, but it does no harm to
clean up a bit.
notmuch-count.c
notmuch-tag.c