Frees the content of layout.
layout
This does not free layout itself, so you might want to free layout yourself after calling this.
a WorkspaceLayout.