If it is arc, then this problem will occur ~ mrc will not.
Because the member variable you use looks like this to the compiler: self->member. Therefore, in arc mode, although only member variables are used, self actually points to this variable, and there is still a memory leak problem.
It is recommended to read the following link, question 39, which is very detailed
"Recruiting a reliable iOS" interview question reference answer
If it’s arc it won’t
If it is arc, then this problem will occur ~ mrc will not.
Because the member variable you use looks like this to the compiler: self->member. Therefore, in arc mode, although only member variables are used, self actually points to this variable, and there is still a memory leak problem.