diff options
Diffstat (limited to 'core/memory.go')
-rw-r--r-- | core/memory.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/memory.go b/core/memory.go index 8826966..3d8063d 100644 --- a/core/memory.go +++ b/core/memory.go @@ -50,7 +50,6 @@ func (o *MemoryObject) Writer() (ObjectWriter, error) { func (o *MemoryObject) Write(p []byte) (n int, err error) { o.cont = append(o.cont, p...) - o.sz = int64(len(o.cont)) return len(p), nil } |