Merge this fix from the pybsddb tree:
r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines

Solved memory leak when using cursors with
databases without environment.
diff --git a/Misc/NEWS b/Misc/NEWS
index 4a74446..f6c93b7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1270,6 +1270,9 @@
 
 - Bug #1372: zlibmodule.c: int overflow in PyZlib_decompress
 
+- bsddb module: Fix memory leak when using database cursors on
+  databases without a DBEnv.
+
 Tests
 -----