Don't delete region until after we're done with it.

This commit is contained in:
Ulrich Czekalla 2003-05-11 02:53:09 +00:00 committed by Alexandre Julliard
parent e7cc4ad2ef
commit 34a148685e
1 changed files with 1 additions and 1 deletions

View File

@ -212,8 +212,8 @@ void X11DRV_EndGraphicsExposures( HDC hdc, HRGN hrgn )
ERR( "got unexpected event %d\n", event.type );
break;
}
if (tmp) DeleteObject( tmp );
}
if (tmp) DeleteObject( tmp );
}
wine_tsx11_unlock();
GDI_ReleaseObj( hdc );