Commit fa7b5b05 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

dmusic: use a previously unused variable.

parent 3ba83044
...@@ -382,6 +382,11 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPortImpl (LPCGUID lpcGUID, LPVOID *ppobj, ...@@ -382,6 +382,11 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPortImpl (LPCGUID lpcGUID, LPVOID *ppobj,
obj->pDirectSound = NULL; obj->pDirectSound = NULL;
obj->pLatencyClock = NULL; obj->pLatencyClock = NULL;
hr = DMUSIC_CreateReferenceClockImpl(&IID_IReferenceClock, (LPVOID*)&obj->pLatencyClock, NULL); hr = DMUSIC_CreateReferenceClockImpl(&IID_IReferenceClock, (LPVOID*)&obj->pLatencyClock, NULL);
if(hr != S_OK)
{
HeapFree(GetProcessHeap(), 0, obj);
return hr;
}
if(0) if(0)
{ {
......
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