Fixed #4566: Remove autorelease for create construct in LayerTest

This commit is contained in:
pandamicro 2014-03-27 10:25:39 +08:00
parent 413e0010f5
commit 87f9eb3217
1 changed files with 0 additions and 1 deletions

View File

@ -639,7 +639,6 @@ LayerGradientTest2::LayerGradientTest2()
{
auto layer = LayerGradient::create();
layer->initWithColor(Color4B(255,0,0,255), Color4B(255,255,0,255));
layer->autorelease();
addChild(layer);
}