Removed a memory leak for Quattro images