[New-bugs-announce] [issue15394] memory leak in PyModule_Create2

Julia Lawall report at bugs.python.org
Thu Jul 19 15:24:56 CEST 2012


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

In objects/moduleobject.c, in the function PyModule_Create2, it appears that m should be decrefed on all of the failure paths between its allocation and the return from the function.

----------
files: moduleobject.patch
keywords: patch
messages: 165838
nosy: jll
priority: normal
severity: normal
status: open
title: memory leak in PyModule_Create2
type: resource usage
versions: Python 3.2
Added file: http://bugs.python.org/file26435/moduleobject.patch

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


More information about the New-bugs-announce mailing list