@thomaslee
I think you are right. We should not release texture in CCTexture2D::initWithImage.