Ignore:
Timestamp:
Mar 8, 2013, 3:52:01 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
1ee4033
Parents:
90a8f2f
Message:

python/: use Py_RETURN_NONE, fixing a memory bug triggered after opening many sinks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/ext/aubiomodule.c

    r90a8f2f r9e6695d  
    165165
    166166  // since this function does not return, we could return None
    167   //return Py_None;
     167  //Py_RETURN_NONE;
    168168  // however it is convenient to return the modified vector
    169169  return (PyObject *) PyAubio_CFvecToArray(vec);
Note: See TracChangeset for help on using the changeset viewer.