]> git.cworth.org Git - notmuch/commit
lib/message-file: close stream in destructor
authorDavid Bremner <david@tethera.net>
Fri, 10 May 2019 00:23:24 +0000 (21:23 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 10 May 2019 15:26:50 +0000 (12:26 -0300)
commite19954fa188e8a2a9bb4d57a235eb11490880fb9
tree228b09690734ac121bb5a0fb07d22e1bc9b6428e
parentbda0fecccd2888f33257696845b44b9e05b336fd
lib/message-file: close stream in destructor

Without this,

$ make time-test OPTIONS=--small

leads to fatal errors from too many open files.

Thanks to st-gourichon-fid for bringing this problem to my attention in IRC.
lib/message-file.c