mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
- Fix recursion when sweeping the DCE list.
svn path=/trunk/; revision=45311
This commit is contained in:
@@ -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*/
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user