Fix malloc counting
Remove temp files