[New-bugs-announce] [issue10153] Memory leak in pythonrun.c

Stefan Krah report at bugs.python.org
Wed Oct 20 13:09:36 CEST 2010


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

Found by Valgrind, patch attached:

==4921== 24 bytes in 1 blocks are definitely lost in loss record 419 of 2,694
==4921==    at 0x4C2412C: malloc (vg_replace_malloc.c:195)
==4921==    by 0x417F06: _PyObject_New (object.c:244)
==4921==    by 0x520C4E: PyFile_NewStdPrinter (fileobject.c:364)
==4921==    by 0x499438: Py_InitializeEx (pythonrun.c:281)
==4921==    by 0x49951E: Py_Initialize (pythonrun.c:322)
==4921==    by 0x4B2579: Py_Main (main.c:587)
==4921==    by 0x417D6B: main (python.c:51)

----------
components: Interpreter Core
files: pythonrun.patch
keywords: patch
messages: 119201
nosy: skrah
priority: normal
severity: normal
stage: patch review
status: open
title: Memory leak in pythonrun.c
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file19294/pythonrun.patch

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


More information about the New-bugs-announce mailing list