Commit 835a1c84 authored by Ian Lynagh's avatar Ian Lynagh

#807: Removed double fclose of prof_file

prof_file was being fclose'd in both gen_XML_logfile and hs_exit, leading
to glibc complaining of a double free.
parent 6e0c3f50
......@@ -882,8 +882,6 @@ gen_XML_logfile( void )
reportCCS_XML(pruneCCSTree(CCS_MAIN));
fprintf(prof_file, " 0\n");
fclose(prof_file);
}
static void
......
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