Commit 70000c98 authored by Laurent Aimar's avatar Laurent Aimar

Fixed a huge memory leak due to OSD.

parent defb5939
......@@ -990,6 +990,8 @@ static void SpuRenderRegion( spu_t *p_spu,
p_dst->i_x = i_x_offset;
p_dst->i_y = i_y_offset;
p_dst->i_align = 0;
if( p_dst->p_picture )
picture_Release( p_dst->p_picture );
p_dst->p_picture = picture_Hold( p_region_picture );
int i_fade_alpha = 255;
if( p_subpic->b_fade )
......
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