[issue15395] memory leaks in selectmodule.c

2012-07-19 Thread Julia Lawall

New submission from Julia Lawall julia.law...@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 rep...@bugs.python.org
http://bugs.python.org/issue15395
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15395] memory leaks in selectmodule.c

2012-07-19 Thread Jesús Cea Avión

Changes by Jesús Cea Avión j...@jcea.es:


--
nosy: +jcea
versions: +Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15395
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue15395] memory leaks in selectmodule.c

2012-07-19 Thread Roundup Robot

Roundup Robot devn...@psf.upfronthosting.co.za added the comment:

New changeset bc9b2956bb8b by Jesus Cea in branch '3.2':
Closes #15395: memory leaks in selectmodule.c
http://hg.python.org/cpython/rev/bc9b2956bb8b

New changeset 9985b4651436 by Jesus Cea in branch 'default':
MERGE: Closes #15395: memory leaks in selectmodule.c
http://hg.python.org/cpython/rev/9985b4651436

--
nosy: +python-dev
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15395
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com