[issue26474] ctypes: Memory leak at malloc_closure.c

STINNER Victor report at bugs.python.org
Wed Mar 2 17:09:45 EST 2016


STINNER Victor added the comment:

> malloc_closere.c

We are talking about Modules/_ctypes/malloc_closure.c.

> The items are being allocated in the more_core method using VirtualAlloc / mmap. However they never get released.

The allocation is only done once. I'm not sure that it can be called a leak. Calling the function 1,000 times will not allocate more memory.

----------
nosy: +haypo
title: Memory leak at malloc_closure.c -> ctypes: Memory leak at malloc_closure.c
versions: +Python 3.5, Python 3.6

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


More information about the Python-bugs-list mailing list