diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2018-12-26 18:26:25 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2018-12-26 18:26:25 +0100 |
commit | 7430b2734585dfb9ab567bf8f1140c62622ecc67 (patch) | |
tree | c97527cf162a7b00d85468778972b559269c6b5b /numpy | |
parent | 6b8a730319934e24d2251fc1cf1a9e244b3b2517 (diff) | |
download | numpy-7430b2734585dfb9ab567bf8f1140c62622ecc67.tar.gz |
BUG: Add missing free in ufunc dealloc
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c index ea0007a9d..5ef134ac1 100644 --- a/numpy/core/src/umath/ufunc_object.c +++ b/numpy/core/src/umath/ufunc_object.c @@ -5279,6 +5279,8 @@ ufunc_dealloc(PyUFuncObject *ufunc) { PyArray_free(ufunc->core_num_dims); PyArray_free(ufunc->core_dim_ixs); + PyArray_free(ufunc->core_dim_sizes); + PyArray_free(ufunc->core_dim_flags); PyArray_free(ufunc->core_offsets); PyArray_free(ufunc->core_signature); PyArray_free(ufunc->ptr); |