Commit 1023ecb9 authored by Tristan Matthews's avatar Tristan Matthews

twolame: fix chain deallocation

parent 033cdd90
...@@ -328,7 +328,7 @@ static block_t *Encode( encoder_t *p_enc, block_t *p_aout_buf ) ...@@ -328,7 +328,7 @@ static block_t *Encode( encoder_t *p_enc, block_t *p_aout_buf )
if( !p_block ) if( !p_block )
{ {
if( p_chain ) if( p_chain )
block_Release( p_chain ); block_ChainRelease( p_chain );
return NULL; return NULL;
} }
memcpy( p_block->p_buffer, p_sys->p_out_buffer, i_used ); memcpy( p_block->p_buffer, p_sys->p_out_buffer, i_used );
......
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