[ros-dev] [ros-diffs] [jimtabor] 73532: [NtUser] - Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071.
James Tabor
jimtabor.rosdev at gmail.com
Fri Jan 13 19:31:27 UTC 2017
Right!!! Thanks!
On Fri, Jan 13, 2017 at 1:02 PM, Thomas Faber <thomas.faber at reactos.org>
wrote:
> On 2017-01-13 05:06, jimtabor at svn.reactos.org wrote:
>
>> VOID FASTCALL
>> IntSendChildNCPaint(PWND pWnd)
>> {
>> + PWND Child;
>> + HWND *List, *phWnd;
>> +
>> + List = IntWinListChildren(UserGetDesktopWindow());
>> + if ( List )
>> + {
>> + for (phWnd = List; *phWnd; ++phWnd)
>> + {
>> + Child = ValidateHwndNoErr(*phWnd);
>> + if ( Child && Child->hrgnUpdate == NULL && Child->state &
>> WNDS_SENDNCPAINT)
>> + {
>> + USER_REFERENCE_ENTRY Ref;
>> + UserRefObjectCo(Child, &Ref);
>> + IntSendNCPaint(Child, HRGN_WINDOW);
>> + UserDerefObjectCo(Child);
>> + }
>> + }
>> + }
>>
>
>
> You leak List here, both in the normal case and in the
> exception-during-callout case.
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.reactos.org/pipermail/ros-dev/attachments/20170113/5064effa/attachment.html>
More information about the Ros-dev
mailing list