diff options
Diffstat (limited to 'mp/src/game/server/ServerNetworkProperty.cpp')
| -rw-r--r-- | mp/src/game/server/ServerNetworkProperty.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mp/src/game/server/ServerNetworkProperty.cpp b/mp/src/game/server/ServerNetworkProperty.cpp index 5bd93c18..50641b2d 100644 --- a/mp/src/game/server/ServerNetworkProperty.cpp +++ b/mp/src/game/server/ServerNetworkProperty.cpp @@ -108,6 +108,9 @@ IHandleEntity *CServerNetworkProperty::GetEntityHandle( ) void CServerNetworkProperty::Release() { delete m_pOuter; + // Don't zero m_pOuter or reference any member variables after + // the delete call because the object may be deleted. + //m_pOuter = NULL; } |