From 8e329ca2b32679e3d5e83d612e120f3433ea6250 Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 13 Oct 2016 23:22:08 +0000 Subject: [PATCH] Fix a memory leak in test/group/translate_asy/normal_inters. --- test/group/translate_asy/test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/group/translate_asy/test.cpp b/test/group/translate_asy/test.cpp index 9263013..cad832e 100644 --- a/test/group/translate_asy/test.cpp +++ b/test/group/translate_asy/test.cpp @@ -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);