Free cache DCEs if the DC gets deleted.
diff --git a/objects/dc.c b/objects/dc.c index be38bf0..24b16ef 100644 --- a/objects/dc.c +++ b/objects/dc.c
@@ -745,7 +745,7 @@ DWORD data = dc->dwHookData; GDI_ReleaseObj( hdc ); if (!proc( hdc, DCHC_DELETEDC, data, 0 )) return FALSE; - if (!(dc = DC_GetDCPtr( hdc ))) return FALSE; + if (!(dc = DC_GetDCPtr( hdc ))) return TRUE; /* deleted by the hook */ } }