2 #pragma ident "%Z%%M% %I% %E% SMI"
5 # This script looks for memory leaks by analyzing the output of "sqlite"
6 # when compiled with the MEMORY_DEBUG=2 option.
17 print "*** free without a malloc at",$
6
24 sub("string at " addr
" is ","")
29 if( mem
[addr
]==
"" ) continue
30 print mem
[addr
], str
[addr
]