Module: wine Branch: master Commit: 3fbf3f66db23664b94f3f5945528b2d99a159b58 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3fbf3f66db23664b94f3f59455...
Author: Kai Blin kai.blin@gmail.com Date: Mon Mar 23 18:14:57 2009 +0100
quartz/tests: If CoCreateInstance() fails, it's safe to return, as no cleanup is needed.
---
dlls/quartz/tests/filtergraph.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c index 2e5fdc4..f6d61cd 100644 --- a/dlls/quartz/tests/filtergraph.c +++ b/dlls/quartz/tests/filtergraph.c @@ -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);