[Patches] [Patch #102827] Fix for PR#119558: bsddb.c: check return from malloc

noreply@sourceforge.net noreply@sourceforge.net
Thu, 14 Dec 2000 17:00:44 -0800


Patch #102827 has been updated. 

Project: python
Category: Modules
Status: Closed
Submitted by: akuchling
Assigned to : akuchling
Summary: Fix for PR#119558: bsddb.c: check return from malloc

Follow-Ups:

Date: 2000-Dec-14 17:00
By: akuchling

Comment:
Applied.
-------------------------------------------------------

Date: 2000-Dec-14 11:16
By: gvanrossum

Comment:
OK. Check it in. :-)

-------------------------------------------------------

Date: 2000-Dec-14 08:16
By: akuchling

Comment:
No; it averts dumping core, which is all I care about.
The code will sometimes leak a bit of memory when a MemoryError is raised, and there may be other leaks in that case that I haven't noticed,
but that seems too trivial to worry about.  (I expect R.Dunn's BerkeleyDB module will eventually take over from this module anyway.)

-------------------------------------------------------

Date: 2000-Dec-14 06:23
By: gvanrossum

Comment:
Looks fine -- check it in, unless you have specific qualms about it?

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102827&group_id=5470