Commit c8eb8076 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent e3cc00cf
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment