oleaut32: Initialize nrofnames to keep from freeing unused memory in the error case.

This commit is contained in:
James Hawkins 2007-01-16 04:15:20 -06:00 committed by Alexandre Julliard
parent e3cc00cf47
commit c8eb807639

View File

@ -1751,7 +1751,7 @@ TMStubImpl_Invoke(
HRESULT hres;
DWORD *args = NULL, res, *xargs, nrofargs;
marshal_state buf;
UINT nrofnames;
UINT nrofnames = 0;
BSTR names[10];
BSTR iname = NULL;
ITypeInfo *tinfo = NULL;