Don't crash if BindToStorage fails.
This commit is contained in:
parent
dbc8f877fc
commit
dfc8305918
|
@ -633,6 +633,8 @@ static void test_BindToStorage(void)
|
||||||
|
|
||||||
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
|
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
|
||||||
ok(SUCCEEDED(hres), "IMoniker_BindToStorage failed: %08lx\n", hres);
|
ok(SUCCEEDED(hres), "IMoniker_BindToStorage failed: %08lx\n", hres);
|
||||||
|
if (!SUCCEEDED(hres)) return;
|
||||||
|
|
||||||
if(test_protocol == HTTP_TEST) {
|
if(test_protocol == HTTP_TEST) {
|
||||||
todo_wine {
|
todo_wine {
|
||||||
ok(unk == NULL, "istr should be NULL\n");
|
ok(unk == NULL, "istr should be NULL\n");
|
||||||
|
|
Loading…
Reference in New Issue