Commit 1c3fcde6 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

memory leak

parent 97773f13
...@@ -204,6 +204,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container ) ...@@ -204,6 +204,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
i_read = stream_Read( s, p_read, i_read ); \ i_read = stream_Read( s, p_read, i_read ); \
if( i_read < (int64_t)__EVEN(p_chk->common.i_chunk_size ) + 8 ) \ if( i_read < (int64_t)__EVEN(p_chk->common.i_chunk_size ) + 8 ) \
{ \ { \
free( p_buff ); \
return VLC_EGENERIC; \ return VLC_EGENERIC; \
}\ }\
p_read += 8; \ p_read += 8; \
......
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