Fix crash removing the loop section with SetLoopSectionCommand

This commit is contained in:
David Capello 2015-03-11 15:02:08 -03:00
parent b5db58d21c
commit 50fd6e9e2f

View File

@ -134,7 +134,6 @@ void SetLoopSectionCommand::onExecute(Context* ctx)
Transaction transaction(writer.context(), "Remove Loop");
transaction.execute(new cmd::RemoveFrameTag(sprite, loopTag));
transaction.commit();
delete loopTag;
}
}