mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 21:51:47 +00:00
- Fix recursion when sweeping the DCE list.
svn path=/trunk/; revision=45311
This commit is contained in:
parent
3d6e5848c1
commit
80e31b74bc
1 changed files with 2 additions and 1 deletions
|
@ -683,7 +683,8 @@ DceFreeWindowDCE(PWINDOW_OBJECT Window)
|
|||
{
|
||||
if (!pDCE) break;
|
||||
if (IsListEmpty(&pDCE->List)) break;
|
||||
if (pDCE->hwndCurrent == Window->hSelf)
|
||||
if ( pDCE->hwndCurrent == Window->hSelf &&
|
||||
!(pDCE->DCXFlags & DCX_DCEEMPTY) )
|
||||
{
|
||||
if (!(pDCE->DCXFlags & DCX_CACHE)) /* owned or Class DCE*/
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue