[PATCH 4/4] Remove some tests that make Vista SP0 crash

Paul Vriens Paul.Vriens.Wine at gmail.com
Fri Jan 22 03:03:28 CST 2010


---
 dlls/xmllite/tests/reader.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index 27dae53..cb55181 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -176,7 +176,6 @@ static void test_reader_create(void)
 {
     HRESULT hr;
     IXmlReader *reader;
-    IMalloc *imalloc;
     IUnknown *input;
 
     /* crashes native */
@@ -189,12 +188,6 @@ static void test_reader_create(void)
     hr = pCreateXmlReader(&IID_IXmlReader, (LPVOID*)&reader, NULL);
     ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
 
-    hr = CoGetMalloc(1, &imalloc);
-    ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
-
-    hr = IMalloc_DidAlloc(imalloc, reader);
-    ok(hr != 1, "Expected 0 or -1, got %08x\n", hr);
-
     /* Null input pointer, releases previous input */
     hr = IXmlReader_SetInput(reader, NULL);
     ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
-- 
1.6.2.5


--------------090703030901090608050107--



More information about the wine-patches mailing list