Merge pull request #3442 from xbruce/develop

closed 2612: Crash appears when extending cc.ScrollView in JS.
This commit is contained in:
James Chen 2013-08-20 01:36:59 -07:00
commit f263f01334
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ ScrollView::ScrollView()
ScrollView::~ScrollView()
{
_touches->release();
CC_SAFE_RELEASE(_touches);
}
ScrollView* ScrollView::create(Size size, Node* container/* = NULL*/)