Author: gadamopoulos
Date: Sun Nov 6 23:34:22 2016
New Revision: 73161
URL:
http://svn.reactos.org/svn/reactos?rev=73161&view=rev
Log:
[SHELL32]
- CShellLink: Zero the pointer to mDropTarget by releasing the smart pointer instead of
just releasing the object. This lead to a crash every time CShellLink::DragLeave was
called.
CORE-11956
Modified:
trunk/reactos/dll/win32/shell32/CShellLink.cpp
Modified: trunk/reactos/dll/win32/shell32/CShellLink.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CShellLi…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CShellLink.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CShellLink.cpp [iso-8859-1] Sun Nov 6 23:34:22 2016
@@ -2248,7 +2248,7 @@
if (mDropTarget)
{
hr = mDropTarget->DragLeave();
- mDropTarget->Release();
+ mDropTarget.Release();
}
return hr;