diff options
Diffstat (limited to 'tree.go')
-rw-r--r-- | tree.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ func (t *Tree) Decode(o core.Object) (err error) { if err != nil { return err } - defer close(reader, &err) + defer checkClose(reader, &err) r := bufio.NewReader(reader) for { |