summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Communicator.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2006-08-15 17:35:30 +0000
committerMark Spruiell <mes@zeroc.com>2006-08-15 17:35:30 +0000
commit9426ed54a01c73bce6daf6a0164eab5d7447e68d (patch)
treebebbcd91797f041b9d8dbb550c5dba892779d4d9 /py/modules/IcePy/Communicator.cpp
parentfixup results printing after changes to TestUtil.py (diff)
downloadice-9426ed54a01c73bce6daf6a0164eab5d7447e68d.tar.bz2
ice-9426ed54a01c73bce6daf6a0164eab5d7447e68d.tar.xz
ice-9426ed54a01c73bce6daf6a0164eab5d7447e68d.zip
fixing ref-count bug for Communicator wrapper
Diffstat (limited to 'py/modules/IcePy/Communicator.cpp')
-rw-r--r--py/modules/IcePy/Communicator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/modules/IcePy/Communicator.cpp b/py/modules/IcePy/Communicator.cpp
index 1f8c86704e7..7fc4ae7c04c 100644
--- a/py/modules/IcePy/Communicator.cpp
+++ b/py/modules/IcePy/Communicator.cpp
@@ -528,6 +528,7 @@ communicatorSetWrapper(CommunicatorObject* self, PyObject* args)
assert(self->wrapper == NULL);
self->wrapper = wrapper;
+ Py_INCREF(self->wrapper);
Py_INCREF(Py_None);
return Py_None;