OpenImageIO/oiio — pull request #448 by lgritz (2012-10-30 19:43:05+00:00)
Title: Targa output: minor refactoring to ensure that write errors properly close the file handle.

Targa output: minor refactoring to ensure that write errors properly close the file handle. Suggested by Nicolas Burtnyk.