Skip to content

Commit

Permalink
remove extra release
Browse files Browse the repository at this point in the history
  • Loading branch information
LexLuthr committed Apr 30, 2024
1 parent ccc704c commit e7da516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion curiosrc/ffi/sdr_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ func (sb *SealCalls) PreFetch(ctx context.Context, sector storiface.SectorRef, t
}

func (sb *SealCalls) TreeD(ctx context.Context, sector storiface.SectorRef, unsealed cid.Cid, size abi.PaddedPieceSize, data io.Reader, unpaddedData bool, fspaths, pathIDs storiface.SectorPaths, release func()) error {
defer release()
var err error
defer func() {
if err != nil {
Expand Down

0 comments on commit e7da516

Please sign in to comment.