shell32: Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate returned string

Thomas Weidenmueller thomas at reactsoft.com
Thu Nov 1 17:02:57 CDT 2007


Use SHStrDupW in IShellFolder2::GetDetailsOf to allocate the returned
string. pOleStr in the STRRET structure has to be allocated using
CoTaskMemAlloc(). SHStrDupW uses CoTaskMemAlloc() whereas StrDupW uses
LocalAlloc().

- Thomas
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: recyclebin.c.patch
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071101/1110bafb/attachment.txt 


More information about the wine-patches mailing list