Commit f740b346 authored by François Cartegnie's avatar François Cartegnie 🤞

vlc_block_helper: use block_ChainRelease for chain release

parent a3f0f201
......@@ -45,13 +45,7 @@ static inline void block_BytestreamInit( block_bytestream_t *p_bytestream )
static inline void block_BytestreamRelease( block_bytestream_t *p_bytestream )
{
for( block_t *block = p_bytestream->p_chain; block != NULL; )
{
block_t *p_next = block->p_next;
block_Release( block );
block = p_next;
}
block_ChainRelease( p_bytestream->p_chain );
}
/**
......
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