Zebediah Figura : quartz/tests: Add a missing call to ITypeInfo_ReleaseTypeAttr().

Alexandre Julliard julliard at winehq.org
Thu Mar 14 18:33:22 CDT 2019


Module: wine
Branch: master
Commit: 94063ac1f849f6afaefc3fe0bfd52d7dfc137e0c
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=94063ac1f849f6afaefc3fe0bfd52d7dfc137e0c

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Thu Mar 14 12:12:19 2019 -0500

quartz/tests: Add a missing call to ITypeInfo_ReleaseTypeAttr().

Spotted by Nikolay Sivov.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 dcaedd5..09bd473 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);




More information about the wine-cvs mailing list