diff --git a/hphp/runtime/vm/as.cpp b/hphp/runtime/vm/as.cpp index 13465777b..1b80db8f9 100644 --- a/hphp/runtime/vm/as.cpp +++ b/hphp/runtime/vm/as.cpp @@ -1137,7 +1137,7 @@ String parse_long_string(AsmState& as) { // String wants a null, and dereferences one past the size we give // it. buffer.push_back('\0'); - return String(&buffer[0], buffer.size() - 1, AttachLiteral); + return String(&buffer[0], buffer.size() - 1, CopyString); } /*