You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2014/09/22 22:10:55 UTC
svn commit: r1626887 -
/qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i
Author: aconway
Date: Mon Sep 22 20:10:54 2014
New Revision: 1626887
URL: http://svn.apache.org/r1626887
Log:
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
Modified:
qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i
Modified: qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i?rev=1626887&r1=1626886&r2=1626887&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i (original)
+++ qpid/trunk/qpid/cpp/include/qpid/swig_python_typemaps.i Mon Sep 22 20:10:54 2014
@@ -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 : {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org