Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: Fix test breaks in node-chakracore
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalinfinity authored and kfarnung committed Jan 9, 2018
1 parent bb93096 commit 10a0306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/chakrashim/src/jsrtutils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ JsErrorCode StringUtf8::From(JsValueRef strRef) {

_str = reinterpret_cast<char*>(malloc(length + 1));
if (_str == nullptr) {
return JsErrorOutOfMemory;
return JsErrorOutOfMemory;
}

JsErrorCode err = JsCopyString(strRef, _str, length, nullptr);
Expand Down

0 comments on commit 10a0306

Please sign in to comment.