Skip to content

Commit

Permalink
Fixes Travis error reporting
Browse files Browse the repository at this point in the history
Summary:
Just cherry-picked my commit from facebook#508
Closes facebook/yoga#542

Differential Revision: D5002335

Pulled By: emilsjolander

fbshipit-source-id: 3f61a235c41627e9cfb90dce150323f11892e65f
  • Loading branch information
Maël Nison authored and Oleksandr Kolodii committed May 9, 2017
1 parent d6fb3db commit baf6afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReactCommon/yoga/yoga/Yoga.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ YGConfigRef YGConfigGetDefault() {

YGConfigRef YGConfigNew(void) {
const YGConfigRef config = gYGMalloc(sizeof(YGConfig));
YGLog(NULL, config != NULL, "Could not allocate memory for config");
YGAssert(config != NULL, "Could not allocate memory for config");

gConfigInstanceCount++;
memcpy(config, &gYGConfigDefaults, sizeof(YGConfig));
Expand Down

0 comments on commit baf6afd

Please sign in to comment.