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:
parent
4bbebbb348
commit
94c8b6b4da
@ -18,7 +18,10 @@ ValveCall::~ValveCall()
|
||||
delete [] ptr;
|
||||
stk.pop();
|
||||
}
|
||||
call->Destroy();
|
||||
if (call)
|
||||
{
|
||||
call->Destroy();
|
||||
}
|
||||
delete [] retbuf;
|
||||
delete [] vparams;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user