This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pankaj.s01
Recipients benjamin.peterson, pankaj.s01
Date 2015-07-24.04:42:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1437712956.47.0.356892785544.issue24703@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,
There is an issue of resource leak of file descriptor "outFile" in Python-2.7.10 ,file :Python-2.7.10/Modules/_bsddb.c:3456.
variable "outFile" is going out of scope which leaks the storage.So need to close file before return on error.
I have attached the patch ,please check and review it.

thanks!
History
Date User Action Args
2015-07-24 04:42:36pankaj.s01setrecipients: + pankaj.s01, benjamin.peterson
2015-07-24 04:42:36pankaj.s01setmessageid: <1437712956.47.0.356892785544.issue24703@psf.upfronthosting.co.za>
2015-07-24 04:42:36pankaj.s01linkissue24703 messages
2015-07-24 04:42:36pankaj.s01create