Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2019-01-17 23:17:30 +0300
committerJörg Müller <nexyon@gmail.com>2019-01-17 23:17:30 +0300
commitd3e856cdfc0f184c230166046dd939baa0ac7a28 (patch)
tree4247f4e4b0c36a80618a2148575a547533da7b1b /extern/audaspace/bindings/python/PySound.cpp
parent16fac2149b7ec830dc5ef2f9ebbfcd226ecec581 (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/PySound.cpp')
-rw-r--r--extern/audaspace/bindings/python/PySound.cpp2
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);
}