Commit 82436b1e authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmusic: Avoid passing invalid handle to IDirectMusicSynth_Unload.

parent 971d7072
......@@ -707,6 +707,7 @@ static HRESULT WINAPI synth_port_download_Unload(IDirectMusicPortDownload *iface
}
}
if (!handle) return S_OK;
return IDirectMusicSynth_Unload(This->synth, handle, NULL, NULL);
}
......
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