diff --git a/arangod/V8Server/v8-vocindex.cpp b/arangod/V8Server/v8-vocindex.cpp index 6526777719..5ad30dbf55 100644 --- a/arangod/V8Server/v8-vocindex.cpp +++ b/arangod/V8Server/v8-vocindex.cpp @@ -1579,7 +1579,6 @@ static void CreateVocBase (const v8::FunctionCallbackInfo& args, VPackBuilder builder; - builder.openObject(); VPackSlice infoSlice; if (2 <= args.Length()) { if (! args[1]->IsObject()) { @@ -1590,7 +1589,6 @@ static void CreateVocBase (const v8::FunctionCallbackInfo& args, if (res != TRI_ERROR_NO_ERROR) { TRI_V8_THROW_EXCEPTION(res); } - builder.close(); infoSlice = builder.slice(); if (infoSlice.hasKey("journalSize")) { @@ -1608,7 +1606,6 @@ static void CreateVocBase (const v8::FunctionCallbackInfo& args, #endif } else { - builder.close(); infoSlice = builder.slice(); }