Fully initialise the structure to prevent ill-defined behaviour.

This commit is contained in:
Bill Medland 2004-12-20 17:05:44 +00:00 committed by Alexandre Julliard
parent c1cd989450
commit 405abd5b06
1 changed files with 1 additions and 0 deletions

View File

@ -1475,6 +1475,7 @@ PSFacBuf_CreateProxy(
proxy->ref = 2;
proxy->tinfo = tinfo;
memcpy(&proxy->iid,riid,sizeof(*riid));
proxy->chanbuf = 0;
*ppv = (LPVOID)proxy;
*ppProxy = (IRpcProxyBuffer *)&(proxy->lpvtbl2);
return S_OK;