[PATCH 1/3] shell32: Don't call SendMessage inside critical section

Alexandre Julliard julliard at winehq.org
Tue Sep 20 12:50:26 CDT 2011


Piotr Caban <piotr at 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
julliard at winehq.org



More information about the wine-devel mailing list