Commit 817db8e3 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

dpnet: Don't return partially initialized object.

parent a767c839
......@@ -253,6 +253,8 @@ static HRESULT WINAPI IDirectPlay8AddressImpl_Duplicate(IDirectPlay8Address *ifa
if(hr != S_OK)
{
IDirectPlay8Address_Release(dup);
dup = NULL;
ERR("Failed to copy component: %s - 0x%08x\n", debugstr_w(entry->name), hr);
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment