Fix a memory leak in test/group/translate_asy/normal_inters.

This commit is contained in:
whitequark 2016-10-13 23:22:08 +00:00
parent b37aba00e2
commit 8e329ca2b3

View File

@ -16,6 +16,7 @@ TEST_CASE(normal_inters) {
bool inters, leaks;
SKdNode::From(m)->MakeCertainEdgesInto(&el,
EdgeKind::SELF_INTER, /*coplanarIsInter=*/false, &inters, &leaks);
el.Clear();
// The assembly is supposed to interfere.
CHECK_TRUE(inters);