commit | c8eb80763956d5b618d5f5ab30ddabb72d81a736 | [log] [tgz] |
---|---|---|
author | James Hawkins <truiken@gmail.com> | Tue Jan 16 04:15:20 2007 -0600 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Jan 16 16:54:14 2007 +0100 |
tree | 91177b07a0234975f462f568be9da25bcb8c1efa | |
parent | e3cc00cf479bda321bd3b7f6b1da8bae3732cd7b [diff] [blame] |
oleaut32: Initialize nrofnames to keep from freeing unused memory in the error case.
diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 6a5a6d3..1740476 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c
@@ -1751,7 +1751,7 @@ 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;