Use delete instead of free

Reviewed By: richardjrossiii

Differential Revision: D6866064

fbshipit-source-id: a44828cedb5045b6c97179fb30ffd8c8dafcbfbe
This commit is contained in:
Mark Wang 2018-01-31 17:54:42 -08:00 committed by Facebook Github Bot
parent 365a4d4b43
commit 9f57dedc17

View File

@ -256,7 +256,7 @@ void YGNodeFree(const YGNodeRef node) {
}
node->clearChildren();
free(node);
delete node;
gNodeInstanceCount--;
}