|
|
@ -123,6 +123,8 @@ void pyVaultNode::pyVaultNodeOperationCallback::VaultOperationStarted( UInt32 co |
|
|
|
PyObject* retVal = PyObject_CallMethod(fCbObject, "vaultOperationStarted", "l", context); |
|
|
|
PyObject* retVal = PyObject_CallMethod(fCbObject, "vaultOperationStarted", "l", context); |
|
|
|
Py_XDECREF(retVal); |
|
|
|
Py_XDECREF(retVal); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Py_DECREF(func); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -150,6 +152,8 @@ void pyVaultNode::pyVaultNodeOperationCallback::VaultOperationComplete( UInt32 c |
|
|
|
Py_XDECREF(retVal); |
|
|
|
Py_XDECREF(retVal); |
|
|
|
Py_DECREF(t); |
|
|
|
Py_DECREF(t); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Py_DECREF(func); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -437,7 +441,8 @@ PyObject* pyVaultNode::AddNode(pyVaultNode* pynode, PyObject* cbObject, UInt32 c |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
if (newNode) { |
|
|
|
if (newNode) { |
|
|
|
newNode->IncRef(); |
|
|
|
// No need to increment the newNode's reference count; the pynode
|
|
|
|
|
|
|
|
// will steal the current reference.
|
|
|
|
pynode->fNode->DecRef(); |
|
|
|
pynode->fNode->DecRef(); |
|
|
|
pynode->fNode = newNode; |
|
|
|
pynode->fNode = newNode; |
|
|
|
} |
|
|
|
} |
|
|
|