Fix CCProxy memory leak