dmusic: use a previously unused variable.

This commit is contained in:
Austin English 2010-07-27 01:36:03 -05:00 committed by Alexandre Julliard
parent 3ba830446d
commit fa7b5b05e2
1 changed files with 5 additions and 0 deletions

View File

@ -382,6 +382,11 @@ HRESULT WINAPI DMUSIC_CreateDirectMusicPortImpl (LPCGUID lpcGUID, LPVOID *ppobj,
obj->pDirectSound = NULL;
obj->pLatencyClock = NULL;
hr = DMUSIC_CreateReferenceClockImpl(&IID_IReferenceClock, (LPVOID*)&obj->pLatencyClock, NULL);
if(hr != S_OK)
{
HeapFree(GetProcessHeap(), 0, obj);
return hr;
}
if(0)
{