We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd86b4e commit 062c164Copy full SHA for 062c164
driver/gurvy/bls12381/frpool.go
@@ -31,5 +31,7 @@ func (frElementPool) Put(v *fr.Element) {
31
if v == nil {
32
panic("put called with nil value")
33
}
34
+ // reset v before putting it back
35
+ v.SetZero()
36
_frElementPool.Put(v)
37
0 commit comments