Freeing memory in StructuredLabels unit test.