[PATCH v2 4/5] ole32: Reset CLSID of datacache so that automatic entry is re-created on load.

Huw Davies huw at codeweavers.com
Tue Apr 3 05:12:02 CDT 2018


On Fri, Mar 30, 2018 at 12:11:36PM -0500, Sergio Gómez Del Real wrote:
> Signed-off-by: Sergio Gómez Del Real <sdelreal at codeweavers.com>
> ---
>  dlls/ole32/datacache.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
> index 0f23faf08c..452e171e4c 100644
> --- a/dlls/ole32/datacache.c
> +++ b/dlls/ole32/datacache.c
> @@ -1862,6 +1862,7 @@ static HRESULT WINAPI DataCache_Load( IPersistStorage *iface, IStorage *stg )
>          DataCacheEntry_Destroy( This, entry );
>  
>      ReadClassStg( stg, &clsid );
> +    This->clsid = CLSID_NULL;

This is probably hiding another bug.  In the new tests you add in
[5/5] the cache entries should have been created when the cache is
created.  Could you investigate what's going on?

Huw.



More information about the wine-devel mailing list