Permalink
Browse files

Use delete instead of free

Reviewed By: richardjrossiii

Differential Revision: D6866064

fbshipit-source-id: a44828cedb5045b6c97179fb30ffd8c8dafcbfbe
  • Loading branch information...
ryu2 authored and facebook-github-bot committed Feb 1, 2018
1 parent 365a4d4 commit 9f57dedc1712733ce4a490121138a97917fd3a52
Showing with 1 addition and 1 deletion.
  1. +1 −1 ReactCommon/yoga/yoga/Yoga.cpp
@@ -256,7 +256,7 @@ void YGNodeFree(const YGNodeRef node) {
}
node->clearChildren();
free(node);
delete node;
gNodeInstanceCount--;
}

0 comments on commit 9f57ded

Please sign in to comment.