Skip to content

Commit

Permalink
Make jni_YGNodeDeallocateJNI call YGNodeDeallocate (facebook#37388)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#37388

Fixes facebook/yoga#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
  • Loading branch information
NickGerleman authored and facebook-github-bot committed May 11, 2023
1 parent a26fa1d commit 92fc503
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static void jni_YGNodeDeallocateJNI(
return;
}
const YGNodeRef node = _jlong2YGNodeRef(nativePointer);
YGNodeFree(node);
YGNodeDeallocate(node);
}

static void jni_YGNodeResetJNI(
Expand Down

0 comments on commit 92fc503

Please sign in to comment.