[6/6] shell32: implement Get/SetIDList on ShellItem objects

Alexandre Julliard julliard at winehq.org
Tue Feb 24 08:31:05 CST 2009


"Vincent Povirk" <vincent at codeweavers.com> writes:

> +    ILFree(This->pidl);
> +    This->pidl = ILClone(pidl);
> +    if (This->pidl)
> +        return S_OK;
> +    else
> +        return E_OUTOFMEMORY;

You should check for success before you free the previous pidl.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list