[issue24703] Resource Leak

2015-07-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4fc7b803ac00 by Serhiy Storchaka in branch '2.7': Issue #24703: Fixed resource leak on error in bsddb.verify(). https://hg.python.org/cpython/rev/4fc7b803ac00 -- nosy: +python-dev ___ Python tracker

[issue24703] Resource Leak

2015-07-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue24703] Resource Leak

2015-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Otherwise the patch LGTM. -- assignee: -> serhiy.storchaka stage: patch review -> commit review ___ Python tracker ___ __

[issue24703] Resource Leak

2015-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Spaces should be used instead tabs for indenting. -- nosy: +serhiy.storchaka stage: -> patch review type: -> resource usage ___ Python tracker _

[issue24703] Resource Leak

2015-07-23 Thread pankaj.s01
New submission from pankaj.s01: 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 pat