Improved memory management for non-ARC project