Make Observer stress test pass a stress run
[folly.git] / folly / json.cpp
index f4607efd88754069754c25589886c94a8f4061bb..105b1ca7ff9264574fdd1ee0c9fb024ece10fa0b 100644 (file)
@@ -693,7 +693,6 @@ void escapeString(
     return c < 10 ? c + '0' : c - 10 + 'a';
   };
 
-  out.reserve(out.size() + input.size() + 2);
   out.push_back('\"');
 
   auto* p = reinterpret_cast<const unsigned char*>(input.begin());