fixed a crash bug in the ValveCall destructor

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40981
This commit is contained in:
David Anderson 2007-06-17 19:49:07 +00:00
parent 4bbebbb348
commit 94c8b6b4da

View File

@ -18,7 +18,10 @@ ValveCall::~ValveCall()
delete [] ptr; delete [] ptr;
stk.pop(); stk.pop();
} }
call->Destroy(); if (call)
{
call->Destroy();
}
delete [] retbuf; delete [] retbuf;
delete [] vparams; delete [] vparams;
} }