[New-bugs-announce] [issue24703] Resource Leak

pankaj.s01 report at bugs.python.org
Fri Jul 24 06:42:36 CEST 2015


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 patch ,please check and review it.

thanks!

----------
components: Extension Modules, Library (Lib)
files: Python-2.7.10_bsddb.patch
keywords: patch
messages: 247249
nosy: benjamin.peterson, pankaj.s01
priority: normal
severity: normal
status: open
title: Resource Leak
versions: Python 2.7
Added file: http://bugs.python.org/file40004/Python-2.7.10_bsddb.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24703>
_______________________________________


More information about the New-bugs-announce mailing list