Skip to content

Commit

Permalink
destroy
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Nov 11, 2024
1 parent 3d87d5b commit f18863a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions versiondb/tsrocksdb/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ func (s Store) fixDataStore(storeName string) error {
if err != nil {
return err
}

Check warning on line 276 in versiondb/tsrocksdb/store.go

View check run for this annotation

Codecov / codecov/patch

versiondb/tsrocksdb/store.go#L275-L276

Added lines #L275 - L276 were not covered by tests
readOpts.Destroy()

clean := bytes.Equal(oldValue.Data(), iter.Value())
oldValue.Free()
Expand Down

0 comments on commit f18863a

Please sign in to comment.