Fixed leak in Container.