Piotr Caban <pi...@codeweavers.com> writes:

> @@ -355,24 +351,34 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, 
> LPCVOID dwItem1, LPCVOID
>          if( !notify )
>              continue;
>  
> -        ptr->pidlSignaled = ILClone(Pidls[0]);
> +        item = SHAlloc(sizeof(struct notification_recipients));
> +        if(!item) {
> +            ERR("out of memory\n");
> +            continue;
> +        }

This one is never freed.

-- 
Alexandre Julliard
julli...@winehq.org


Reply via email to