[User32]
[reactos.git] / reactos / dll / win32 / user32 / windows / nonclient.c
index 5d2b935..5460748 100644 (file)
@@ -489,6 +489,7 @@ DefWndNCPaint(HWND hWnd, HRGN hRgn, BOOL Active)
    }
 
    ReleaseDC(hWnd, hDC);
    }
 
    ReleaseDC(hWnd, hDC);
+   DeleteObject(hRgn); // We use DCX_KEEPCLIPRGN
 
    return 0;
 }
 
    return 0;
 }