user: Add missing WIN_ReleasePtr.

Vitaliy Margolen wine-patch at kievinfo.com
Sun Jan 22 17:41:17 CST 2006


ChangeLog:
user: Add missing WIN_ReleasePtr.
Fixes Bug 3663.

 dlls/user/scroll.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
-------------- next part --------------
fe7803711a6d173da3ed07958b5feb33cc95360e
diff --git a/dlls/user/scroll.c b/dlls/user/scroll.c
index 0f40feb..8774a88 100644
--- a/dlls/user/scroll.c
+++ b/dlls/user/scroll.c
@@ -260,6 +260,7 @@ static BOOL SCROLL_GetScrollBarRect( HWN
         if (!info)
         {
             WARN("called for missing scroll bar");
+            WIN_ReleasePtr( wndPtr );
             return FALSE;
         }
         *arrowSize = GetSystemMetrics(SM_CXVSCROLL);


More information about the wine-patches mailing list