After first call of QImage img("1.png") Qt loads image formats plugins, and leaves them loaded after use (for performance issues). So part of memory that's left is from loaded plugins, and it's not a leak.
Where do you allocate those QImages (img...img9 case)? Are you sure that they go out of scope?
Remember that OS doesn't always retain memory immediately after freeing it by your software.