New submission from Kristján Valur Jónsson <krist...@ccpgames.com>:

A number of places were using PyMem_Realloc() apis and PyObject_GC_Resize() 
with incorrect error handling.  In case of errors, they would leak the original 
object.  This patch fixes those cases.

----------
files: realloc.diff
keywords: patch
messages: 161561
nosy: kristjan.jonsson
priority: normal
severity: normal
status: open
title: Fix incorrect use of *Realloc() and *Resize()
type: resource usage
versions: Python 3.3
Added file: http://bugs.python.org/file25703/realloc.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14909>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to