1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"

This reverts commit 8f8bad63f0. It didn't do
what it claimed to.
This commit is contained in:
2014-06-06 14:20:25 -04:00
parent f68556c04d
commit f187d98a76

View File

@ -779,14 +779,13 @@ struct VaultCreateNodeTrans : NetAuthTrans {
void * m_param;
unsigned m_nodeId;
VaultCreateNodeTrans (
NetVaultNode * templateNode,
FNetCliAuthVaultNodeCreated callback,
void * param
);
~VaultCreateNodeTrans();
bool Send ();
void Post ();
bool Recv (
@ -4057,13 +4056,7 @@ VaultCreateNodeTrans::VaultCreateNodeTrans (
, m_param(param)
, m_nodeId(0)
{
m_templateNode->Ref("VaultCreateNodeTrans");
}
//============================================================================
VaultCreateNodeTrans::~VaultCreateNodeTrans()
{
m_templateNode->UnRef("VaultCreateNodeTrans");
m_templateNode->Ref();
}
//============================================================================
@ -4093,6 +4086,7 @@ void VaultCreateNodeTrans::Post () {
m_param,
m_nodeId
);
m_templateNode->UnRef();
}
//============================================================================