From bb276c343d6e2257326afa4f742ce5bfbb659567 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 24 Aug 2007 13:19:25 +0000 Subject: [PATCH] freeProfiling1() needs to be after endProfiling() Fixes another crash with biographical profiling. --- rts/RtsStartup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c index 951b07f..5104721 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -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 -- 1.7.10.4