HomeSource World

core: free pointer from slice after popping element from price heap (#21572)

Description

core: free pointer from slice after popping element from price heap (#21572)

  • Fix potential memory leak in price heap
  • core: nil free pointer slice (alternative version)

Co-authored-by: Martin Holst Swende <martin@swende.se>

Details

Provenance
aaronbuchwald <aaron.buchwald56@gmail.com>Authored on Sep 28 2020, 12:24 PM
GitHub <noreply@github.com>Committed on Sep 28 2020, 12:24 PM
Parents
rGETH0ddd4612b7db: core/vm, params: make 2200 in line with spec (#21605)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETHeebfb13053a0: core: free pointer from slice after popping element from price heap (#21572) (authored by aaronbuchwald <aaron.buchwald56@gmail.com>).Sep 28 2020, 12:24 PM