aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-28 09:59:18 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-29 13:02:33 -0700
commitbe6c2bde70969256f712d75e58a20e5d8cf5264f (patch)
tree9fcc728ac889ef147ed4684d169c73cd7a1468df /src
parentf7c4e5176debe9a05a31a64e72a046d6ff980473 (diff)
improve corruption check assert output
Diffstat (limited to 'src')
-rw-r--r--src/corruptionCheck.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corruptionCheck.js b/src/corruptionCheck.js
index 315f5cf0..aa1e73df 100644
--- a/src/corruptionCheck.js
+++ b/src/corruptionCheck.js
@@ -42,7 +42,7 @@ var CorruptionChecker = {
CorruptionChecker.checkAll();
var size = CorruptionChecker.ptrs[ptr];
//Module.printErr('free ' + ptr + ' of size ' + size);
- assert(size);
+ assert(size, ptr);
var allocation = ptr - size*CorruptionChecker.BUFFER_FACTOR;
//Module.printErr('free ' + ptr + ' of size ' + size + ' and allocation ' + allocation);
delete CorruptionChecker.ptrs[ptr];