Alexandre Julliard : user32: Don't free a clip region twice.

Alexandre Julliard julliard at winehq.org
Thu Oct 18 14:33:11 CDT 2012


Module: wine
Branch: master
Commit: 6cda76fd997078a28125fa56b87f7130e43625db
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6cda76fd997078a28125fa56b87f7130e43625db

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Oct 17 21:40:18 2012 +0200

user32: Don't free a clip region twice.

---

 dlls/user32/painting.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/user32/painting.c b/dlls/user32/painting.c
index 7d106bb..e9705fe 100644
--- a/dlls/user32/painting.c
+++ b/dlls/user32/painting.c
@@ -790,7 +790,6 @@ void move_window_bits( HWND hwnd, struct window_surface *old_surface,
                            bits, info, DIB_RGB_COLORS );
         old_surface->funcs->unlock( old_surface );
         ReleaseDC( hwnd, hdc );
-        DeleteObject( rgn );
     }
 }
 




More information about the wine-cvs mailing list