mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
gdi handle leak fixed - taskmgr no longer leaks gdi handles whilest sitting still. (why on earth was this commented out?!?!??!)
svn path=/trunk/; revision=12216
This commit is contained in:
parent
b4101d22b8
commit
4a371112ec
1 changed files with 2 additions and 2 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: bitmap.c,v 1.33 2004/10/05 22:08:56 gvg Exp $
|
||||
/* $Id: bitmap.c,v 1.34 2004/12/19 05:00:22 royce Exp $
|
||||
*
|
||||
* PROJECT: ReactOS user32.dll
|
||||
* FILE: lib/user32/windows/input.c
|
||||
|
@ -582,7 +582,7 @@ LoadBitmapImage(HINSTANCE hInstance, LPCWSTR lpszName, UINT fuLoad)
|
|||
}
|
||||
|
||||
RtlFreeHeap(GetProcessHeap(), 0, PrivateInfo);
|
||||
/*DeleteDC(hScreenDc);*/
|
||||
DeleteDC(hScreenDc);
|
||||
if (fuLoad & LR_LOADFROMFILE)
|
||||
{
|
||||
UnmapViewOfFile(BitmapInfo);
|
||||
|
|
Loading…
Reference in a new issue