Fix a memory leak in test/group/translate_asy/normal_inters.
This commit is contained in:
parent
b37aba00e2
commit
8e329ca2b3
@ -16,6 +16,7 @@ TEST_CASE(normal_inters) {
|
|||||||
bool inters, leaks;
|
bool inters, leaks;
|
||||||
SKdNode::From(m)->MakeCertainEdgesInto(&el,
|
SKdNode::From(m)->MakeCertainEdgesInto(&el,
|
||||||
EdgeKind::SELF_INTER, /*coplanarIsInter=*/false, &inters, &leaks);
|
EdgeKind::SELF_INTER, /*coplanarIsInter=*/false, &inters, &leaks);
|
||||||
|
el.Clear();
|
||||||
|
|
||||||
// The assembly is supposed to interfere.
|
// The assembly is supposed to interfere.
|
||||||
CHECK_TRUE(inters);
|
CHECK_TRUE(inters);
|
||||||
|
Loading…
Reference in New Issue
Block a user