haiwen/ccnet — pull request #19 by mlq (2014-01-16 14:06:19+00:00)
Title: Resolve pidfile resource leaks

This patch resolves resource leaks caused by not closing the file streams upon
an write error.