[New-bugs-announce] [issue15395] memory leaks in selectmodule.c

Julia Lawall report at bugs.python.org
Thu Jul 19 16:08:35 CEST 2012


New submission from Julia Lawall <julia.lawall at lip6.fr>:

In Modules/selectmodule.c, in the function seq2set, fast_seq should be decrefd on failure of the initialization of o.  This will make a useless call to DECREF on o, but XDECREF is already used, so it is safe in the NULL case.

In the same file, in the function poll_modify, key should be decrefed on all execution paths that lead out of the function.

----------
files: selectmodule.patch
keywords: patch
messages: 165840
nosy: jll
priority: normal
severity: normal
status: open
title: memory leaks in selectmodule.c
type: resource usage
versions: Python 3.2
Added file: http://bugs.python.org/file26436/selectmodule.patch

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


More information about the New-bugs-announce mailing list