diff --git a/rostests/winetests/ole32/compobj.c b/rostests/winetests/ole32/compobj.c index bc640db6dab..f43bcdd8ff0 100644 --- a/rostests/winetests/ole32/compobj.c +++ b/rostests/winetests/ole32/compobj.c @@ -2889,7 +2889,9 @@ static void test_CoGetMalloc(void) HRESULT hr; if (0) /* crashes on native */ +{ hr = CoGetMalloc(0, NULL); +} imalloc = (void*)0xdeadbeef; hr = CoGetMalloc(0, &imalloc);