A happier analyzer makes easier to spot real problems.
Fixed memleak. Also, clean up better in exceptional cases.