Fix a memory leak of CCImage::getColor4F.