Fix ivar memory management 

Fixes reusing memory after deallocation in Android CCActivity