mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 17:05:45 +00:00
- Fixed GDI handle leak.
svn path=/trunk/; revision=8466
This commit is contained in:
parent
e5185d34b3
commit
e7a65678bd
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: painting.c,v 1.74 2004/02/24 13:27:03 weiden Exp $
|
||||
* $Id: painting.c,v 1.75 2004/02/29 11:34:42 navaraf Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -332,6 +332,7 @@ IntInvalidateWindows(PWINDOW_OBJECT Window, HRGN hRgn, ULONG Flags)
|
|||
{
|
||||
NtGdiCombineRgn(Window->NCUpdateRegion, Window->NCUpdateRegion,
|
||||
hRgnNonClient, RGN_OR);
|
||||
NtGdiDeleteObject(hRgnNonClient);
|
||||
}
|
||||
|
||||
NtGdiDeleteObject(hRgnWindow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue