diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-06-23 16:13:55 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2020-06-24 16:08:56 -0400 |
commit | e90af2f456f0430d11eea19b285986e732034798 (patch) | |
tree | e8cb29b49ce1d6029fb9b786f33a68ee51ab234c /compiler | |
parent | a50487a5644dc4df2248b7cd35c77e39ab4f963c (diff) | |
download | haskell-wip/free-censuses.tar.gz |
rts/ProfHeap: Free old allocations when reinitialising Censuseswip/free-censuses
Previously when not LDV profiling we would repeatedly reinitialise
`censuses[0]` with `initEra`. This failed to free the `Arena` and
`HashTable` from the old census, resulting in a memory leak.
Fixes #18348.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions