]> granicus.if.org Git - python/commit
Fix a tuple memory leak when raising DB, DBEnv and DBCursor "object
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 2 Nov 2003 08:06:29 +0000 (08:06 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 2 Nov 2003 08:06:29 +0000 (08:06 +0000)
commite2767171133ead86ec3aacc205d1d8365a0a2d07
tree8bbf6e6a28584dc14d3165ab23e1c8c71072fd1e
parent54a831bef74fc2213dc2a8467236a5f481957d5c
Fix a tuple memory leak when raising DB, DBEnv and DBCursor "object
has been closed" exceptions.

Adds a DBCursorClosedError exception in the closed cursor case for
future use in fixing the legacy bsddb interface deadlock problems
due to its use of cursors with DB_INIT_LOCK | DB_THREAD support
enabled.
Modules/_bsddb.c