Skip to content
Snippets Groups Projects
Commit 7036c75d authored by Thomas Guillem's avatar Thomas Guillem Committed by Steve Lhomme
Browse files

winstore: fix memleak if device failed

parent 328635ea
No related branches found
No related tags found
1 merge request!2578winstore: misc fixes (memleak, assert)
Pipeline #266905 passed with stage
in 15 minutes and 46 seconds
......@@ -370,7 +370,10 @@ static void Play(audio_output_t *aout, block_t *block, vlc_tick_t date)
{
aout_sys_t *sys = aout->sys;
if( unlikely( sys->client == NULL ) )
{
block_Release(block);
return;
}
EnterMTA();
HRESULT hr = aout_stream_Play(sys->stream, block, date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment