New submission from Meador Inge <mead...@gmail.com>:

While implementing a patch for issue13096 I found a reference leak in 'ctypes'. 
 I couldn't find the cause immediately, but it can be 
reproduced by applying the attached patch and running:

[meadori@motherbrain cpython]$ ./python -m test -R : test_ctypes
[1/1] test_ctypes
beginning 9 repetitions
123456789
.........
test_ctypes leaked [51, 51, 51, 51] references, sum=204
1 test failed:
    test_ctypes
[174347 refs]

----------
components: ctypes
files: ctypes-refleak-repro.patch
keywords: patch
messages: 146242
nosy: amaury.forgeotdarc, belopolsky, meador.inge
priority: normal
severity: normal
stage: needs patch
status: open
title: ctypes: reference leak in POINTER code
type: resource usage
versions: Python 3.3
Added file: http://bugs.python.org/file23504/ctypes-refleak-repro.patch

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

Reply via email to