Fix memory leak
Update CCImage.cpp
Merge pull request #6261 from iSevenDays/patch-9

Fix memory leak