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 | 6422454ca27384f41d2b67d3a294c89d7279c062 (patch) | |
tree | cf594bdb195ef56135fc05aee00c60268a988bc6 | |
parent | c40d863b128b42b06f32974ace106b4075cda401 (diff) | |
download | qpid-python-6422454ca27384f41d2b67d3a294c89d7279c062.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/qpid@1626887 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/include/qpid/swig_python_typemaps.i | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/include/qpid/swig_python_typemaps.i b/cpp/include/qpid/swig_python_typemaps.i index db20c312c4..52b0d978dc 100644 --- a/cpp/include/qpid/swig_python_typemaps.i +++ b/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 : { |