fixed an initialization bug in ValveCall

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40980
This commit is contained in:
David Anderson 2007-06-17 19:39:11 +00:00
parent e16d731d81
commit 4bbebbb348
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,15 @@
#include "vcallbuilder.h"
#include "extension.h"
ValveCall::ValveCall()
{
call = NULL;
vparams = NULL;
retinfo = NULL;
thisinfo = NULL;
retbuf = NULL;
}
ValveCall::~ValveCall()
{
while (!stk.empty())

View File

@ -23,6 +23,7 @@ struct ValveCall
unsigned char *stk_get();
void stk_put(unsigned char *ptr);
ValveCall();
~ValveCall();
};