Skip to content
Snippets Groups Projects
Commit e0dc6167 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Hugo Beauzée-Luyssen
Browse files

hxxx_sei: fix memory leak on error

parent b225c6db
No related branches found
No related tags found
1 merge request!1035hxxx_sei: fix memory leak on error
Pipeline #169256 passed with stage
in 14 minutes and 18 seconds
......@@ -109,7 +109,10 @@ void HxxxParseSEI(const uint8_t *p_buf, size_t i_buf,
p_t35[i_t35] = bs_read( &s, 8 );
if( bs_error( &s ) )
{
free( p_t35 );
break;
}
/* TS 101 154 Auxiliary Data and H264/AVC video */
if( i_t35 > 4 && p_t35[0] == 0xb5 /* United States */ )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment