From 38391a1d709dfba5b8d40284dc72ad34c1732028 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 5 May 2022 15:02:19 +1000 Subject: [PATCH] sapi-iteration-tokens: Updated patchset --- ...EnumTokens-setup-enumeration-members.patch | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/patches/sapi-iteration-tokens/0004-sapi-EnumTokens-setup-enumeration-members.patch b/patches/sapi-iteration-tokens/0004-sapi-EnumTokens-setup-enumeration-members.patch index f2d89eb4..6e69a9b3 100644 --- a/patches/sapi-iteration-tokens/0004-sapi-EnumTokens-setup-enumeration-members.patch +++ b/patches/sapi-iteration-tokens/0004-sapi-EnumTokens-setup-enumeration-members.patch @@ -1,14 +1,14 @@ -From 0aab7e8ef8f33b63fd3589ecf3413822cc36c37b Mon Sep 17 00:00:00 2001 +From 5326c101e7cd8f0d0197319fd0d7d652d845c20e Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 22 Sep 2021 19:01:44 +1000 -Subject: [PATCH 4/8] sapi: EnumTokens setup enumeration members +Subject: [PATCH] sapi: EnumTokens setup enumeration members --- - dlls/sapi/token.c | 47 ++++++++++++++++++++++++++++++----------------- - 1 file changed, 30 insertions(+), 17 deletions(-) + dlls/sapi/token.c | 48 ++++++++++++++++++++++++++++++----------------- + 1 file changed, 31 insertions(+), 17 deletions(-) diff --git a/dlls/sapi/token.c b/dlls/sapi/token.c -index 0a160455d2b..6bf66bc0d5b 100644 +index 853dc2fd21f..957ef77b41e 100644 --- a/dlls/sapi/token.c +++ b/dlls/sapi/token.c @@ -48,6 +48,22 @@ static struct data_key *impl_from_ISpRegDataKey( ISpRegDataKey *iface ) @@ -95,6 +95,14 @@ index 0a160455d2b..6bf66bc0d5b 100644 heap_free( This->req ); heap_free( This->opt ); heap_free( This ); +@@ -817,6 +830,7 @@ HRESULT token_enum_create( IUnknown *outer, REFIID iid, void **obj ) + This->opt = NULL; + This->init = FALSE; + This->count = 0; ++ This->key = NULL; + + hr = ISpObjectTokenEnumBuilder_QueryInterface( &This->ISpObjectTokenEnumBuilder_iface, iid, obj ); + -- -2.33.0 +2.35.1