correct file leak in getInfo
correct uninitialized value in imageDisplay
Merge pull request #17 from valgit/file_leak

correct file leak in getInfo