Skip to content

Commit

Permalink
updating report text
Browse files Browse the repository at this point in the history
  • Loading branch information
disnet committed Jul 16, 2012
1 parent 217edfa commit 9c05c26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/memcheck.ljs
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ function report() {
}).join("\n")
}

let leaks = "Leaks found:\n" + fmtLeaks(getLeaks());
let access = "Access of unallocaed memory:\n" + fmtAccess(getBadAccesses());
let undef = "Undefined access at memory location: " + memcheck.errors.undef_access.length;
let frees = "Frees: " + memcheck.errors.double_free.length;
let leaks = "Leaks at:\n" + fmtLeaks(getLeaks());
let access = "Unallocated accesses at:\n" + fmtAccess(getBadAccesses());
let undef = "Undefined accesses at: " + memcheck.errors.undef_access.length;
let frees = "Unallocated frees at: " + memcheck.errors.double_free.length;
return [leaks, access, undef, frees].join("\n\n");
}

Expand Down

0 comments on commit 9c05c26

Please sign in to comment.