New issue
 Projects > cocos2d-x > Issues > Bug #4432

CC_SAFE_DELETE safe of not in cocos2d-x-3.0rc0

Bug #4432 [New]
scott_cocos2dx 2014-03-18 06:19

define CC_SAFE_DELETE(p) do { delete (p); (p) = nullptr; } while(0)

Mebe

define CC_SAFE_DELETE(p) do { if(p){ delete (p); (p) = nullptr; }} while(0)

Atom PDF

Status:New
Start date:2014-03-18
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.