Revert memleak fix since it's causing failures on TravisCI

This commit is contained in:
Jason Paryani
2014-02-13 22:25:25 -08:00
parent 55dcff0dad
commit a0668c1c9c

View File

@@ -1775,6 +1775,11 @@ cdef class TwoPartyClient:
self._restorer = _convert_restorer(restorer) self._restorer = _convert_restorer(restorer)
self.thisptr = new RpcSystem(makeRpcClientWithRestorer(deref(self._network.thisptr), deref(self._restorer.thisptr))) self.thisptr = new RpcSystem(makeRpcClientWithRestorer(deref(self._network.thisptr), deref(self._restorer.thisptr)))
Py_INCREF(self._restorer)
Py_INCREF(self._orig_stream)
Py_INCREF(self._stream)
Py_INCREF(self._network) # TODO:MEMORY: attach this to onDrained, also figure out what's leaking
def __dealloc__(self): def __dealloc__(self):
del self.thisptr del self.thisptr