X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRetainerSet.c;h=6834676dafd794f392922c4b34464d2a3a0ce0a9;hb=77f7f3864e0d81bce1ad3650598981534aa09138;hp=83e0d9feeec65449b4f71f2c93e5b1ff49c27882;hpb=dbef766ce79e37a74468a07a93b15ba1f06fe8f8;p=ghc-hetmet.git diff --git a/ghc/rts/RetainerSet.c b/ghc/rts/RetainerSet.c index 83e0d9f..6834676 100644 --- a/ghc/rts/RetainerSet.c +++ b/ghc/rts/RetainerSet.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RetainerSet.c,v 1.2 2001/11/26 16:54:21 simonmar Exp $ + * $Id: RetainerSet.c,v 1.4 2003/03/25 17:58:49 sof Exp $ * * (c) The GHC Team, 2001 * Author: Sungwoo Park @@ -10,6 +10,8 @@ #ifdef PROFILING +#include + #include "Rts.h" #include "RtsFlags.h" #include "Stats.h" @@ -491,7 +493,7 @@ outputAllRetainerSet(FILE *prof_file) fprintf(prof_file, "}\n"); } - free(rsArray); + stgFree(rsArray); } #endif // SECOND_APPROACH