Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mway committed Mar 16, 2021
1 parent bedce66 commit ec2857a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scope.go
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ func (s *scope) release(deep bool) {
// deallocate bucket sample counters, which are unique to each
// bucket within a given histogram instance.
for j := range s.histogramsSlice[i].samples {
s.cachedReporter.DeallocateCounter(s.histogramsSlice[i].samples[j].cachedCount)
s.cachedReporter.DeallocateCounter(s.histogramsSlice[i].samples[j].counter.cachedCount)
}
s.histogramsSlice[i].samples = s.histogramsSlice[i].samples[:0]
for k := range s.histogramsSlice[i].tags {
Expand Down

0 comments on commit ec2857a

Please sign in to comment.