Commit cbc120de authored by Jean-Paul Saman's avatar Jean-Paul Saman

Don't leak picture_t

parent 3f47d476
......@@ -675,6 +675,7 @@ static void DeAllocatePicture( vlc_object_t *p_this, picture_t *p_pic,
{
free( p_pic->p_data_orig );
if( p_pic->pf_release ) p_pic->pf_release( p_pic );
else free( p_pic );
}
if( p_fmt )
{
......
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