I am trying to understand why I have memory leaks in a very simple implementation of UIImage and UIImageView.
I do not use ARC in this case (properly disabled).
My code is pretty simple:
UIImage *image = [UIImage imageNamed:@"my_image.jpg"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
[[self view] addSubview:imageView];
[imageView release];
I implement this code in the viewDidLoad:UIViewController method .
By calling a method imageNamed:for UIImage, I know that I will get an object that I don't have / an autorelease object. This object will also be saved by the UIImageView object created immediately after. So the only object I own is UIImageView.
After running this application using memory leak tools, I have this report:

I heard about a cache system that works, but I shouldn't have memory leaks because some data is cached.
:
qaru.site/questions/1507717/...
!
Edit: ARC, .