mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
Use delete instead of free
Reviewed By: richardjrossiii Differential Revision: D6866064 fbshipit-source-id: a44828cedb5045b6c97179fb30ffd8c8dafcbfbe
This commit is contained in:
parent
365a4d4b43
commit
9f57dedc17
@ -256,7 +256,7 @@ void YGNodeFree(const YGNodeRef node) {
|
||||
}
|
||||
|
||||
node->clearChildren();
|
||||
free(node);
|
||||
delete node;
|
||||
gNodeInstanceCount--;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user