mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:52:54 +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:
parent
f4a1861aab
commit
bb59ec3e6e
1 changed files with 1 additions and 1 deletions
|
@ -2248,7 +2248,7 @@ HRESULT WINAPI CShellLink::DragLeave()
|
||||||
if (mDropTarget)
|
if (mDropTarget)
|
||||||
{
|
{
|
||||||
hr = mDropTarget->DragLeave();
|
hr = mDropTarget->DragLeave();
|
||||||
mDropTarget->Release();
|
mDropTarget.Release();
|
||||||
}
|
}
|
||||||
|
|
||||||
return hr;
|
return hr;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue