Author: mjansen
Date: Sat Feb 25 14:52:16 2017
New Revision: 73906
URL:
http://svn.reactos.org/svn/reactos?rev=73906&view=rev
Log:
[OLE32] Fix a crash when executing zz_winrar_3.80_test.exe 4.drag_and_drop CORE-12590
#resolve
Modified:
trunk/reactos/dll/win32/ole32/clipboard.c
Modified: trunk/reactos/dll/win32/ole32/clipboard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/clipboard.…
==============================================================================
--- trunk/reactos/dll/win32/ole32/clipboard.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ole32/clipboard.c [iso-8859-1] Sat Feb 25 14:52:16 2017
@@ -807,6 +807,9 @@
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;