Browse Source

canvas: fix p_chain leak

(cherry picked from commit 4787f40122)
cherry-pick-c5513cf9
Johannes Kauffmann 10 months ago
committed by Steve Lhomme
parent
commit
d249316478
  1. 1
      modules/video_filter/canvas.c

1
modules/video_filter/canvas.c

@ -333,6 +333,7 @@ static int Activate( vlc_object_t *p_this )
if ( filter_chain_AppendConverter( p_sys->p_chain, NULL, NULL ) )
{
msg_Err( p_filter, "Could not append scaling filter" );
filter_chain_Delete( p_sys->p_chain );
free( p_sys );
return VLC_EGENERIC;
}

Loading…
Cancel
Save