mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
[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 svn path=/trunk/; revision=73161
This commit is contained in:
@@ -2248,7 +2248,7 @@ HRESULT WINAPI CShellLink::DragLeave()
|
||||
if (mDropTarget)
|
||||
{
|
||||
hr = mDropTarget->DragLeave();
|
||||
mDropTarget->Release();
|
||||
mDropTarget.Release();
|
||||
}
|
||||
|
||||
return hr;
|
||||
|
||||
Reference in New Issue
Block a user