Commit 897e35aa authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: fix leak

parent 6ad32e53
......@@ -4247,7 +4247,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *p_stream )
return p_root;
error:
free( p_vroot );
MP4_BoxFree( p_vroot );
MP4_Seek( p_stream, 0 );
return 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