Commit 9a615da1 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Fix memleak ffmpeg/video_filter.c

parent c23421c5
...@@ -130,7 +130,8 @@ static int OpenFilterEx( vlc_object_t *p_this, vlc_bool_t b_enable_croppadd ) ...@@ -130,7 +130,8 @@ static int OpenFilterEx( vlc_object_t *p_this, vlc_bool_t b_enable_croppadd )
p_filter->fmt_out.video.i_height ); p_filter->fmt_out.video.i_height );
if( CheckInit( p_filter ) != VLC_SUCCESS ) if( CheckInit( p_filter ) != VLC_SUCCESS )
{ {
avpicture_free( &p_sys->tmp_pic );
free( p_sys ); free( p_sys );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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