Commit dfa88a21 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dmusic: Actually return the allocated interface (Coverity).

parent 0993f8bb
...@@ -101,6 +101,6 @@ HRESULT DMUSIC_CreateDirectMusicDownloadImpl(const GUID *guid, void **ret_iface, ...@@ -101,6 +101,6 @@ HRESULT DMUSIC_CreateDirectMusicDownloadImpl(const GUID *guid, void **ret_iface,
download->IDirectMusicDownload_iface.lpVtbl = &DirectMusicDownload_Vtbl; download->IDirectMusicDownload_iface.lpVtbl = &DirectMusicDownload_Vtbl;
download->ref = 1; download->ref = 1;
*ret_iface = download;
return S_OK; return S_OK;
} }
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