diff options
Diffstat (limited to 'extern/audaspace/bindings/python/PySound.cpp')
-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); } |