Vitaliy Margolen : user: Add missing WIN_ReleasePtr.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jan 23 05:05:17 CST 2006
Module: wine
Branch: refs/heads/master
Commit: e383143f183bc8c045e5717d1ae0b75a32c4e405
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=e383143f183bc8c045e5717d1ae0b75a32c4e405
Author: Vitaliy Margolen <wine-patch at kievinfo.com>
Date: Mon Jan 23 11:24:16 2006 +0100
user: Add missing WIN_ReleasePtr.
---
dlls/user/scroll.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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-cvs
mailing list