[PATCH v3 2/4] quartz/tests: Add a missing call to ITypeInfo_ReleaseTypeAttr().

Zebediah Figura z.figura12 at gmail.com
Thu Mar 14 12:12:19 CDT 2019


Spotted by Nikolay Sivov.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/quartz/tests/dsoundrender.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/quartz/tests/dsoundrender.c b/dlls/quartz/tests/dsoundrender.c
index dcaedd512d..09bd473d84 100644
--- a/dlls/quartz/tests/dsoundrender.c
+++ b/dlls/quartz/tests/dsoundrender.c
@@ -394,6 +394,7 @@ static void test_basic_audio(void)
     ok(hr == S_OK, "Got hr %#x.\n", hr);
     ok(typeattr->typekind == TKIND_DISPATCH, "Got kind %u.\n", typeattr->typekind);
     ok(IsEqualGUID(&typeattr->guid, &IID_IBasicAudio), "Got IID %s.\n", wine_dbgstr_guid(&typeattr->guid));
+    ITypeInfo_ReleaseTypeAttr(typeinfo, typeattr);
     ITypeInfo_Release(typeinfo);
 
     IBasicAudio_Release(audio);
-- 
2.20.1




More information about the wine-devel mailing list