diff options
author | Simon Gibbons <simongibbons@gmail.com> | 2016-03-29 12:58:44 +0100 |
---|---|---|
committer | Simon Gibbons <simongibbons@gmail.com> | 2016-03-30 11:37:49 +0100 |
commit | 321d7ef8b717e1a21121b8cb0eef78d6d8005a6a (patch) | |
tree | e598c08091347c373118ae9788eb0c84ce23b342 /numpy/core/fromnumeric.py | |
parent | 75c5af30d7137fd308227028ebdee31dbe841e7f (diff) | |
download | numpy-321d7ef8b717e1a21121b8cb0eef78d6d8005a6a.tar.gz |
BUG: Memory Leak in _GenericBinaryOutFunction. Fixes #6672
_GenericBinaryOutFunction was leaking a string each time it was called.
This fixes the leak by storing the (constant) **kwargs that are passed
into the op statically so that they are only constructed the first
time that _GenericBinaryOutFunction is called.
Credit to @seberg for finding the location of the bug and providing
an initial version of the fix.
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions