summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2004-06-27 23:32:34 +0000
committerGregory P. Smith <greg@mad-scientist.com>2004-06-27 23:32:34 +0000
commitdc5af70631c86723132518152ce5f910848d83ae (patch)
treeb7f34b5ca26308a06dd352d34fc800ac8fe661e9 /Python/pythonrun.c
parentc2b151c66ee9bc6e686400ee93e65e07d1999888 (diff)
downloadcpython-git-dc5af70631c86723132518152ce5f910848d83ae.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions