replace free with CC_SAFE_FREE, avoid wild pointer.  when passing a pointer into a free- memory-function,  we need to pass the reference of the pointer.
Merge branch 'try-to-fix-free'