Commit 49b5f2ed authored by Antoine Cellerier's avatar Antoine Cellerier

Fix memleak.

parent 5b6b25c8
......@@ -451,6 +451,7 @@ static picture_t *ImageConvert( image_handler_t *p_image, picture_t *p_pic,
p_fmt_in->i_height == p_fmt_out->i_height )
{
/* Duplicate image */
p_pif->pf_release( p_pif ); /* XXX: Better fix must be possible */
p_pif = p_image->p_filter->pf_vout_buffer_new( p_image->p_filter );
if( p_pif ) vout_CopyPicture( p_image->p_parent, p_pif, p_pic );
}
......
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