Commit 4941746e authored by Tristan Matthews's avatar Tristan Matthews

vorbis: fix dereference after null check (cid #403019)

parent 887e8f05
......@@ -318,7 +318,8 @@ static block_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
{
if( ProcessHeaders( p_dec ) )
{
block_Release( *pp_block );
if( *pp_block )
block_Release( *pp_block );
return NULL;
}
p_sys->b_has_headers = true;
......
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