summaryrefslogtreecommitdiff
path: root/ext/pdo_sqlite/sqlite/tool/memleak3.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_sqlite/sqlite/tool/memleak3.tcl')
-rw-r--r--ext/pdo_sqlite/sqlite/tool/memleak3.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_sqlite/sqlite/tool/memleak3.tcl b/ext/pdo_sqlite/sqlite/tool/memleak3.tcl
index 2e3f43bc13..3c6e9b9c56 100644
--- a/ext/pdo_sqlite/sqlite/tool/memleak3.tcl
+++ b/ext/pdo_sqlite/sqlite/tool/memleak3.tcl
@@ -198,6 +198,7 @@ proc report {} {
lappend summarymap($stack) $bytes
}
+ set sorted [list]
foreach stack [array names summarymap] {
set allocs $summarymap($stack)
set sum 0