mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[OLE32] Fix a crash when executing zz_winrar_3.80_test.exe 4.drag_and_drop CORE-12590 #resolve
svn path=/trunk/; revision=73906
This commit is contained in:
parent
d48a928307
commit
3774050bf3
1 changed files with 3 additions and 0 deletions
|
@ -807,6 +807,9 @@ static HRESULT get_data_from_global(IDataObject *data, FORMATETC *fmt, HGLOBAL *
|
|||
|
||||
mem_fmt = *fmt;
|
||||
mem_fmt.tymed = TYMED_HGLOBAL;
|
||||
#ifdef __REACTOS__
|
||||
med.pUnkForRelease = NULL;
|
||||
#endif
|
||||
|
||||
hr = IDataObject_GetData(data, &mem_fmt, &med);
|
||||
if(FAILED(hr)) return hr;
|
||||
|
|
Loading…
Reference in a new issue