Memory Leak in ListView Class

Memory Leak in ListView Class
0.0 0



theseday i’m digging on memory leak in Cocos2D especially Cocostudio extension.
it seems there is tons of memory leak. it seems almost all class use Atlas have memory leak…

anyway today i reveal one memory leak on Example

ListView Example TestCPP

ListView does not release it’s member variable “_model”

version 2.2.2 and 2.2.3 have same issue.

for solve this issue

need add one line in ~ListView()