Make jni_YGNodeDeallocateJNI call YGNodeDeallocate

Summary:
X-link: https://github.com/facebook/react-native/pull/37388

Fixes https://github.com/facebook/yoga/issues/1271

Updating this glue was missed in D45556206 when moving from one revision to the other...

Reviewed By: yungsters

Differential Revision: D45780647

fbshipit-source-id: 4ca64bc9971d3e4697990e73b618a3dc91df259b
This commit is contained in:
Nick Gerleman
2023-05-11 13:30:49 -07:00
committed by Facebook GitHub Bot
parent e53d1ee28a
commit 6db81656ac

View File

@@ -210,7 +210,7 @@ static void jni_YGNodeDeallocateJNI(
return;
}
const YGNodeRef node = _jlong2YGNodeRef(nativePointer);
YGNodeFree(node);
YGNodeDeallocate(node);
}
static void jni_YGNodeResetJNI(