Skip to content

Commit

Permalink
Fixed possible memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
zviRosenfeldRedis authored Nov 28, 2023
1 parent 473da3f commit 8f8075b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions proc/grouper.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func (g *Grouper) groups(tracked []Update) GroupByName {
if _, ok := groups[gname]; !ok {
if g.removeEmptyGroups {
delete(g.groupAccum, gname)
delete(g.threadAccum, gname)
} else {
groups[gname] = Group{Counts: gcounts}
}
Expand Down

0 comments on commit 8f8075b

Please sign in to comment.