[Numpy-svn] [numpy/numpy] 5626f3: BUG: Fix memory leak in f2py_rout_wrap_call test.

noreply at github.com noreply at github.com
Mon May 2 14:47:50 EDT 2011


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: 5626f31cbf7eaa56640a8c82fa7f741cf44b8520
    https://github.com/numpy/numpy/commit/5626f31cbf7eaa56640a8c82fa7f741cf44b8520
Author: Michael Droettboom <mdboom at gmail.com>
Date:   2011-05-02 (Mon, 02 May 2011)

Changed paths:
  M numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c

Log Message:
-----------
BUG: Fix memory leak in f2py_rout_wrap_call test.


Commit: 279764727e53c8f72143313743f5e49fb8d29308
    https://github.com/numpy/numpy/commit/279764727e53c8f72143313743f5e49fb8d29308
Author: Michael Droettboom <mdboom at gmail.com>
Date:   2011-05-02 (Mon, 02 May 2011)

Changed paths:
  M numpy/core/src/umath/umath_tests.c.src

Log Message:
-----------
BUG: Fix memory leak in UMath_Tests_test_signature test


Commit: 26c957b0d7040e8a74ceb8d597de40f55d521aa8
    https://github.com/numpy/numpy/commit/26c957b0d7040e8a74ceb8d597de40f55d521aa8
Author: Michael Droettboom <mdboom at gmail.com>
Date:   2011-05-02 (Mon, 02 May 2011)

Changed paths:
  M numpy/core/src/multiarray/multiarray_tests.c.src

Log Message:
-----------
BUG: Fix reference counting leaks in C-based multiarray_tests


Commit: ded703d47944a95c370eb1ecf518034162a89394
    https://github.com/numpy/numpy/commit/ded703d47944a95c370eb1ecf518034162a89394
Author: Michael Droettboom <mdboom at gmail.com>
Date:   2011-05-02 (Mon, 02 May 2011)

Changed paths:
  M numpy/core/src/umath/umathmodule.c.src

Log Message:
-----------
BUG: Fix a bug where memory was being read after being freed.

On my system (Python 2.7, RHEL5), the call to func.__name__
returns a temporary Python string object with only a single
reference.  Dereferencing it before copying out its contents
results in reading freed memory.


Commit: 516d50cf42833c34ca617c2f09e0e779c6b93665
    https://github.com/numpy/numpy/commit/516d50cf42833c34ca617c2f09e0e779c6b93665
Author: Michael Droettboom <mdboom at gmail.com>
Date:   2011-05-02 (Mon, 02 May 2011)

Changed paths:
  M numpy/core/src/umath/ufunc_object.c

Log Message:
-----------
BUG: Cleanup in PyUFunc_FromFuncAndDataAndSignature error case.


Compare: https://github.com/numpy/numpy/compare/1611da9...516d50c



More information about the Numpy-svn mailing list