projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e0c3f5
)
#807: Removed double fclose of prof_file
author
Ian Lynagh
<igloo@earth.li>
Sat, 8 Jul 2006 15:24:24 +0000
(15:24 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 8 Jul 2006 15:24:24 +0000
(15:24 +0000)
prof_file was being fclose'd in both gen_XML_logfile and hs_exit, leading
to glibc complaining of a double free.
rts/Profiling.c
patch
|
blob
|
history
diff --git
a/rts/Profiling.c
b/rts/Profiling.c
index
33301a9
..
96a94e4
100644
(file)
--- a/
rts/Profiling.c
+++ b/
rts/Profiling.c
@@
-882,8
+882,6
@@
gen_XML_logfile( void )
reportCCS_XML(pruneCCSTree(CCS_MAIN));
fprintf(prof_file, " 0\n");
-
- fclose(prof_file);
}
static void