Fix memory leak

This commit is contained in:
simonla
2022-10-12 19:49:35 +08:00
committed by GitHub
parent 260e60b4b1
commit 197b2260f2

View File

@@ -31,4 +31,5 @@ TEST(YogaTest, reset_layout_when_child_removed) {
ASSERT_TRUE(YGFloatIsUndefined(YGNodeLayoutGetHeight(root_child0)));
YGNodeFreeRecursive(root);
YGNodeFreeRecursive(root_child0);
}