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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26474>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to