|
|
@ -437,10 +437,8 @@ PyObject* pyVaultNode::AddNode(pyVaultNode* pynode, PyObject* cbObject, UInt32 c |
|
|
|
cb |
|
|
|
cb |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
PyObject * nodeRef = cb->fPyNodeRef = pyVaultNodeRef::New(fNode, pynode->fNode); |
|
|
|
// just return a None object
|
|
|
|
Py_INCREF(nodeRef); // incref it, because we MUST return a new PyObject, and the callback "steals" the ref from us
|
|
|
|
PYTHON_RETURN_NONE; |
|
|
|
cb->SetNode(pynode->fNode); |
|
|
|
|
|
|
|
return nodeRef; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|