diff options
Diffstat (limited to 'formats/packfile/seekable.go')
-rw-r--r-- | formats/packfile/seekable.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/formats/packfile/seekable.go b/formats/packfile/seekable.go index 37b4ee9..65c8a69 100644 --- a/formats/packfile/seekable.go +++ b/formats/packfile/seekable.go @@ -104,5 +104,6 @@ func (r *Seekable) RecallByOffset(o int64) (obj core.Object, err error) { return nil, err } - return NewParser(r).ReadObject() + obj = &core.MemoryObject{} + return obj, NewParser(r).FillObject(obj) } |