summaryrefslogtreecommitdiffstats
path: root/Lib/mhlib.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2004-06-27 23:32:34 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2004-06-27 23:32:34 (GMT)
commitdc5af70631c86723132518152ce5f910848d83ae (patch)
treeb7f34b5ca26308a06dd352d34fc800ac8fe661e9 /Lib/mhlib.py
parentc2b151c66ee9bc6e686400ee93e65e07d1999888 (diff)
downloadcpython-dc5af70631c86723132518152ce5f910848d83ae.zip
cpython-dc5af70631c86723132518152ce5f910848d83ae.tar.gz
cpython-dc5af70631c86723132518152ce5f910848d83ae.tar.bz2
SF patch / bug #967763
Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit.
Diffstat (limited to 'Lib/mhlib.py')
0 files changed, 0 insertions, 0 deletions