diff options
author | Jörg Müller <nexyon@gmail.com> | 2019-01-17 23:17:30 +0300 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2019-01-17 23:17:30 +0300 |
commit | d3e856cdfc0f184c230166046dd939baa0ac7a28 (patch) | |
tree | 4247f4e4b0c36a80618a2148575a547533da7b1b /extern/audaspace/bindings/python | |
parent | 16fac2149b7ec830dc5ef2f9ebbfcd226ecec581 (diff) |
Audaspace: porting changes from upstream.
- Silence some warnings.
- Fix: Python API memory leak.
- Fix for T54490: VSE breaks when I insert or remove headphones
Diffstat (limited to 'extern/audaspace/bindings/python')
-rw-r--r-- | extern/audaspace/bindings/python/PySound.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/extern/audaspace/bindings/python/PySound.cpp b/extern/audaspace/bindings/python/PySound.cpp index 2ab1974be49..82c6036012b 100644 --- a/extern/audaspace/bindings/python/PySound.cpp +++ b/extern/audaspace/bindings/python/PySound.cpp @@ -140,8 +140,6 @@ Sound_data(Sound* self) std::memcpy(data, buffer->getBuffer(), buffer->getSize()); - Py_INCREF(array); - return reinterpret_cast<PyObject*>(array); } |