wineandroid.drv: Remove useless cast to self.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
be0c18b2b1
commit
b51064a3d5
|
@ -379,8 +379,7 @@ HRESULT WINAPI AUDDRV_GetAudioEndpoint(GUID *guid, IMMDevice *dev,
|
||||||
if(!This)
|
if(!This)
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
hr = CoCreateFreeThreadedMarshaler((IUnknown *)&This->IAudioClient_iface,
|
hr = CoCreateFreeThreadedMarshaler((IUnknown *)&This->IAudioClient_iface, &This->pUnkFTMarshal);
|
||||||
(IUnknown **)&This->pUnkFTMarshal);
|
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
HeapFree(GetProcessHeap(), 0, This);
|
HeapFree(GetProcessHeap(), 0, This);
|
||||||
return hr;
|
return hr;
|
||||||
|
|
Loading…
Reference in New Issue