Commit 5332f51e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

i420_10_p010: Fix leak

parent 6329e2c5
......@@ -75,7 +75,8 @@ static int Create( vlc_object_t *p_this )
if ( p_filter->fmt_in.video.i_chroma != VLC_CODEC_I420_10L)
return -1;
filter_sys_t *p_sys = calloc(1, sizeof(filter_sys_t));
filter_sys_t *p_sys = vlc_malloc( VLC_OBJECT( p_filter ),
sizeof(filter_sys_t) );
if (!p_sys)
return VLC_ENOMEM;
......
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