Memory leak finally fixed, problem: unreleased images