James Hawkins : oleaut32:
Initialize nrofnames to keep from freeing unused memory in the error
case.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Jan 16 10:07:55 CST 2007
Module: wine
Branch: master
Commit: c8eb80763956d5b618d5f5ab30ddabb72d81a736
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8eb80763956d5b618d5f5ab30ddabb72d81a736
Author: James Hawkins <truiken at 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;
More information about the wine-cvs
mailing list