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