memleak: fixed ImageCodecInfo; code style: moved open brace position to previoud line; small fixes