Commit 60d60225 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

Simplify: false positive CID 139

parent 173420e8
......@@ -870,14 +870,9 @@ static void decode_region_composition( decoder_t *p_dec, bs_t *s )
/* Free old object defs */
while( p_region->i_object_defs )
{
int i = p_region->i_object_defs - 1;
free( p_region->p_object_defs[i].psz_text );
if( !i )
free( p_region->p_object_defs );
free( p_region->p_object_defs[--p_region->i_object_defs].psz_text );
p_region->i_object_defs--;
}
free( p_region->p_object_defs );
p_region->p_object_defs = NULL;
/* Extra sanity checks */
......
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