aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoding/json/encode.go')
-rw-r--r--src/encoding/json/encode.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/encoding/json/encode.go b/src/encoding/json/encode.go
index f085b5a08d..2e1f56f882 100644
--- a/src/encoding/json/encode.go
+++ b/src/encoding/json/encode.go
@@ -164,7 +164,6 @@ func Marshal(v interface{}) ([]byte, error) {
}
buf := append([]byte(nil), e.Bytes()...)
- e.Reset()
encodeStatePool.Put(e)
return buf, nil