Commit bb276c34 authored by Simon Marlow's avatar Simon Marlow
Browse files

freeProfiling1() needs to be after endProfiling()

Fixes another crash with biographical profiling.
parent 03d716b3
......@@ -478,9 +478,8 @@ hs_exit_(rtsBool wait_foreign)
reportCCSProfiling();
#endif
freeProfiling1();
endProfiling();
freeProfiling1();
#ifdef PROFILING
// Originally, this was in report_ccs_profiling(). Now, retainer
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment