summaryrefslogtreecommitdiff
path: root/compiler/GHC/Cmm/Dataflow/Label.hs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-06-23 16:13:55 -0400
committerBen Gamari <ben@smart-cactus.org>2020-06-24 16:08:56 -0400
commite90af2f456f0430d11eea19b285986e732034798 (patch)
treee8cb29b49ce1d6029fb9b786f33a68ee51ab234c /compiler/GHC/Cmm/Dataflow/Label.hs
parenta50487a5644dc4df2248b7cd35c77e39ab4f963c (diff)
downloadhaskell-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/GHC/Cmm/Dataflow/Label.hs')
0 files changed, 0 insertions, 0 deletions