Commit c4fc052b authored by Rémi Duraffort's avatar Rémi Duraffort

dc1394: fix potential memleak.

parent f6dd239c
......@@ -618,7 +618,10 @@ static block_t *GrabAudio( demux_t *p_demux )
p_sys->i_audio_max_frame_size );
if( i_read <= 0 )
{
block_Release( p_block );
return NULL;
}
p_block->i_buffer = i_read;
......
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