Hi, Changelog: Do not clear the pointer we just allocated, just the first byte it points to. Index: dlls/oleaut32/vartype.c =================================================================== RCS file: /home/wine/wine/dlls/oleaut32/vartype.c,v retrieving revision 1.1 diff -u -r1.1 vartype.c --- dlls/oleaut32/vartype.c 11 Dec 2003 04:28:20 -0000 1.1 +++ dlls/oleaut32/vartype.c 13 Dec 2003 17:43:40 -0000 @@ -5672,7 +5672,7 @@ if (!*pbstrOut) return E_OUTOFMEMORY; - *pbstrOut = '\0'; + (*pbstrOut)[0] = '\0'; if (pbstrLeft) strcpyW(*pbstrOut, pbstrLeft);