Skip to content
Snippets Groups Projects
Commit 8ffcf755 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

Fixed region leak.

parent 0d831672
No related branches found
No related tags found
No related merge requests found
......@@ -187,6 +187,7 @@ INT X11DRV_ScrollWindowEx( HWND hwnd, INT dx, INT dy,
ReleaseDC( hwnd, hDC );
if (bUpdate) CombineRgn( hrgnUpdate, hrgnUpdate, hrgn, RGN_OR );
else RedrawWindow( hwnd, NULL, hrgn, RDW_INVALIDATE | RDW_ERASE );
DeleteObject( hrgn );
}
/* Take into account the fact that some damages may have occured during the scroll */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment