X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsStartup.c;h=51047218feca73c4d7aff1ca4cf4de0eca77ca58;hb=51a1bbab96f8795701fc59d295a5f556cfbf5622;hp=4f5b1c77a320cd2ccbc3270417f81d91a9a27228;hpb=eb5791fe867f6441d270344298678f45ed4a75e4;p=ghc-hetmet.git diff --git a/rts/RtsStartup.c b/rts/RtsStartup.c index 4f5b1c7..5104721 100644 --- a/rts/RtsStartup.c +++ b/rts/RtsStartup.c @@ -463,8 +463,6 @@ hs_exit_(rtsBool wait_foreign) /* free the stable pointer table */ exitStablePtrTable(); - freeProfiling1(); - #if defined(DEBUG) /* free the thread label table */ freeThreadLabelTable(); @@ -481,6 +479,7 @@ hs_exit_(rtsBool wait_foreign) #endif endProfiling(); + freeProfiling1(); #ifdef PROFILING // Originally, this was in report_ccs_profiling(). Now, retainer