CID:982000 Resource Leak.

git-svn-id: svn://dev.exiv2.org/svn@3273 b7c8b350-86e7-0310-a4b4-de8f6a8f16a3
CID: 1225750.  Unused assignment.

git-svn-id: svn://dev.exiv2.org/svn@3274 b7c8b350-86e7-0310-a4b4-de8f6a8f16a3
CID: 982053/4.  Restore os format

git-svn-id: svn://dev.exiv2.org/svn@3275 b7c8b350-86e7-0310-a4b4-de8f6a8f16a3