Skip to content

Commit

Permalink
Merge pull request numpy#12617 from seberg/ufunc-cleanup
Browse files Browse the repository at this point in the history
BUG: Add missing free in ufunc dealloc
  • Loading branch information
charris authored Dec 26, 2018
2 parents 6b8a730 + 7430b27 commit d0aa124
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions numpy/core/src/umath/ufunc_object.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d0aa124

Please sign in to comment.