fluent/fluent-plugin-s3 — pull request #15 by ijin (2013-02-01 17:53:19+00:00)
Title: Close tempfile

A lot of temporary files were left on /tmp when the plugin couldn't write to s3 for some reason. I think it's safer to explicitly ensure a deletion, as written so in the Tempfile#Good practices ruby doc.

http://www.ruby-doc.org/stdlib-1.9.3/libdoc/tempfile/rdoc/Tempfile.html