Commit b29a6237 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

flac: fix memory leak

Signed-off-by: default avatarTristan Matthews <le.businessman@gmail.com>
(cherry picked from commit 52897c9020a3b8044d77866605068509924a585c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5ddc9ee3
...@@ -418,6 +418,9 @@ static void ProcessHeader( decoder_t *p_dec ) ...@@ -418,6 +418,9 @@ static void ProcessHeader( decoder_t *p_dec )
} }
FLAC__stream_decoder_process_until_end_of_metadata( p_sys->p_flac ); FLAC__stream_decoder_process_until_end_of_metadata( p_sys->p_flac );
msg_Dbg( p_dec, "STREAMINFO decoded" ); msg_Dbg( p_dec, "STREAMINFO decoded" );
block_Release( p_sys->p_block );
p_sys->p_block = NULL;
} }
/***************************************************************************** /*****************************************************************************
......
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