mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
quartz/tests: If CoCreateInstance() fails, it's safe to return, as no cleanup is needed.
This commit is contained in:
parent
1999008b89
commit
3fbf3f66db
@ -1539,7 +1539,7 @@ static void test_render_filter_priority(void)
|
||||
no preference given to exact match. */
|
||||
hr = CoCreateInstance(&CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, &IID_IFilterGraph2, (LPVOID*)&pgraph2);
|
||||
ok(hr == S_OK, "CoCreateInstance failed with %08x\n", hr);
|
||||
if (!pgraph2) goto out;
|
||||
if (!pgraph2) return;
|
||||
|
||||
hr = TestFilter_Create(&GUID_NULL, PinData1, (LPVOID)&ptestfilter);
|
||||
ok(hr == S_OK, "TestFilter_Create failed with %08x\n", hr);
|
||||
|
Loading…
Reference in New Issue
Block a user