mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Bug 533108 - leak of GDI region in function 'handle_wm_paint'
2008-05-30 Tor Lillqvist <tml@novell.com> Bug 533108 - leak of GDI region in function 'handle_wm_paint' * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel Atallah. svn path=/trunk/; revision=20250
This commit is contained in:
parent
4e48c782cd
commit
710c9619b9
@ -1,3 +1,10 @@
|
||||
2008-05-30 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
Bug 533108 - leak of GDI region in function 'handle_wm_paint'
|
||||
|
||||
* gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
|
||||
Atallah.
|
||||
|
||||
2008-05-29 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -1933,6 +1933,7 @@ handle_wm_paint (MSG *msg,
|
||||
if (GetUpdateRgn (msg->hwnd, hrgn, FALSE) == ERROR)
|
||||
{
|
||||
WIN32_GDI_FAILED ("GetUpdateRgn");
|
||||
DeleteObject (hrgn);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2005,6 +2006,7 @@ handle_wm_paint (MSG *msg,
|
||||
}
|
||||
}
|
||||
|
||||
DeleteObject (hrgn);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user