From: Royce Mitchell III Date: Sun, 19 Dec 2004 05:00:22 +0000 (+0000) Subject: gdi handle leak fixed - taskmgr no longer leaks gdi handles whilest sitting still... X-Git-Tag: backups/ELF_support@12700~2^2~105 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=4a371112ec743c8748b2e6e128a8449b8c5f39af 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 --- diff --git a/reactos/lib/user32/windows/bitmap.c b/reactos/lib/user32/windows/bitmap.c index aa3f6f1462f..88021e92876 100644 --- a/reactos/lib/user32/windows/bitmap.c +++ b/reactos/lib/user32/windows/bitmap.c @@ -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);