Module: wine Branch: master Commit: c8eb80763956d5b618d5f5ab30ddabb72d81a736 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8eb80763956d5b618d5f5ab30...
Author: James Hawkins truiken@gmail.com Date: Tue Jan 16 04:15:20 2007 -0600
oleaut32: Initialize nrofnames to keep from freeing unused memory in the error case.
---
dlls/oleaut32/tmarshal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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 @@ 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;