Make jni_YGNodeDeallocateJNI call YGNodeDeallocate (#37388)

Summary:
Pull Request resolved: 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 a26fa1d3e0
commit 92fc503d56
@@ -210,7 +210,7 @@ static void jni_YGNodeDeallocateJNI(
return;
}
const YGNodeRef node = _jlong2YGNodeRef(nativePointer);
YGNodeFree(node);
YGNodeDeallocate(node);
}
static void jni_YGNodeResetJNI(