From 02b8cb7adf13b752927f3dbadef81258cb3ac186 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 25 Sep 2002 03:25:43 +0000 Subject: [PATCH] Added missing WIN_ReleasePtr (spotted by Dmitry Timoshkov). --- windows/win.c | 1 + 1 file changed, 1 insertion(+) diff --git a/windows/win.c b/windows/win.c index b63f7c5a830..453c968588a 100644 --- a/windows/win.c +++ b/windows/win.c @@ -2010,6 +2010,7 @@ static LONG WIN_SetWindowLong( HWND hwnd, INT offset, LONG newval, if (wndPtr->hwndSelf == GetDesktopWindow()) { /* can't change anything on the desktop window */ + WIN_ReleasePtr( wndPtr ); SetLastError( ERROR_ACCESS_DENIED ); return 0; }