diff options
| author | Alan Conway <aconway@apache.org> | 2014-09-22 20:10:54 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2014-09-22 20:10:54 +0000 |
| commit | be5d2b435764a3a336138b5045964c92f552e86b (patch) | |
| tree | 9dba7409bca9c68b586837366d719a004991ce7f /qpid/cpp/include | |
| parent | 440c8006069238175c21385a936ecfb0275a890f (diff) | |
| download | qpid-python-be5d2b435764a3a336138b5045964c92f552e86b.tar.gz | |
QPID-6107: Python Swig wrapped bindings consistently fail with spout and drain
Problem was a missing Py_INCREF in cpp/include/qpid/swig_python_typemaps.i
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1626887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
| -rw-r--r-- | qpid/cpp/include/qpid/swig_python_typemaps.i | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/cpp/include/qpid/swig_python_typemaps.i b/qpid/cpp/include/qpid/swig_python_typemaps.i index db20c312c4..52b0d978dc 100644 --- a/qpid/cpp/include/qpid/swig_python_typemaps.i +++ b/qpid/cpp/include/qpid/swig_python_typemaps.i @@ -88,6 +88,7 @@ typedef int Py_ssize_t; switch (v->getType()) { case qpid::types::VAR_VOID: { result = Py_None; + Py_INCREF(result); break; } case qpid::types::VAR_BOOL : { |
