2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00

Fix a crash. The removed functionality should NEVER have been there anyway.

This commit is contained in:
2011-04-23 02:32:16 -04:00
parent f4021846a4
commit 22440541ea

View File

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